mirror of
https://github.com/TECHNOFAB11/jsonnet-bundler.git
synced 2026-02-02 17:35:09 +01:00
Fix generate README script
This commit is contained in:
parent
f1f1723381
commit
20988370cc
2 changed files with 7 additions and 3 deletions
|
|
@ -87,7 +87,9 @@ usage: jb [<flags>] <command> [<args> ...]
|
||||||
A jsonnet package manager
|
A jsonnet package manager
|
||||||
|
|
||||||
Flags:
|
Flags:
|
||||||
-h, --help Show context-sensitive help (also try --help-long and --help-man).
|
-h, --help Show context-sensitive help (also try --help-long and
|
||||||
|
--help-man).
|
||||||
|
--version Show application version.
|
||||||
--jsonnetpkg-home="vendor"
|
--jsonnetpkg-home="vendor"
|
||||||
The directory used to cache packages in.
|
The directory used to cache packages in.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
BINARY_NAME=jb
|
BINARY_NAME=jb
|
||||||
|
GOOS=$(go env GOOS)
|
||||||
|
GOARCH=$(go env GOARCH)
|
||||||
|
|
||||||
HELP_FILE=$PWD/_output/help.txt
|
HELP_FILE=$PWD/_output/help.txt
|
||||||
echo "$ $BINARY_NAME -h" > $HELP_FILE
|
echo "$ $BINARY_NAME -h" > $HELP_FILE
|
||||||
PATH=$PATH:$PWD/_output/linux/amd64 $BINARY_NAME -h 2>> $HELP_FILE
|
$PWD/_output/$GOOS/$GOARCH/$BINARY_NAME 2>> $HELP_FILE
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue