Added filename outoput for autocomplete verb. Modified debian package generator to include autocomplete. Added instructions to readme to build debian package.

This commit is contained in:
Renan DelValle 2018-12-05 15:12:49 -08:00
parent 61d78cb77e
commit ad4dd9606e
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
7 changed files with 36 additions and 4 deletions

3
debian/australis.install vendored Normal file → Executable file
View file

@ -1,2 +1,5 @@
#!/usr/bin/dh-exec
build/australis.bash => usr/share/bash-completion/completions/australis
build/australis usr/bin
debian/etc/aurora/australis.yml etc/aurora

8
debian/changelog vendored
View file

@ -1,3 +1,11 @@
australis (0.0.6) unstable; urgency=medium
* Added auto-completion to the deb file.
* Added set verb and quota noun to set quota resource for certain roles.
* Added JSON output as an option for all commands.
-- Renan DelValle <renanidelvalle@gmail.com> Wed, 05 Dec 2018 15:10:00 -0700
australis (0.0.5) unstable; urgency=medium
* Backup and snapshot commands have now been moved to under the force subcommand as these are expensive operations

8
debian/rules vendored
View file

@ -8,7 +8,13 @@
clean:
rm -rf $(CURDIR)/build
rm -rf $(CURDIR)/debian/asutralis
rm -rf $(CURDIR)/debian/australis.debhelper.log
rm -rf $(CURDIR)/debian/debhelper-build-stamp
rm -rf $(CURDIR)/debian/files
rm -rf $(CURDIR)/debian/australis.substvars
override_dh_auto_build:
mkdir $(CURDIR)/build
docker run --rm -v "$(CURDIR)":/go/src/github.com/rdelval/australis -w /go/src/github.com/rdelval/australis golang:1.11 go build -o build/australis
docker run --rm -v "$(CURDIR)":/go/src/github.com/rdelval/australis -w /go/src/github.com/rdelval/australis golang:1.11 go build -o build/australis
build/australis autocomplete --filename=build/australis.bash