Generate shell completions with clap during build (#327)

* Generate shell completions with clap during build

* Updated ci release script, added SHELL_COMPLETIONS_DIR override to build.rs and fixed dependency version
This commit is contained in:
davideGiovannini authored and David Peter committed 2018-10-03 09:39:30 +02:00
1 parent 80da0dc619
commit 0d71968615
8 files changed
+337 -255

No files matched your search

+1
View File
@@ -11,6 +11,7 @@ Set-Location $STAGE
$ZIP = "$SRC_DIR\$($Env:CRATE_NAME)-$($Env:APPVEYOR_REPO_TAG_NAME)-$($Env:TARGET).zip"
Copy-Item "$SRC_DIR\target\release\bat.exe" '.\'
Copy-Item $SRC_DIR\target\release\build\bat-*\out\_bat.ps1 '.\'
# readme and license
Copy-Item $SRC_DIR\README.md '.\'