Skip to content

Commit

Permalink
modify build.sh parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Jun 17, 2021
1 parent 0b49482 commit f21a7f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ezBookkeeping will listen at port 8080 as default. Then you can visit http://{YO
### Build from source
Make sure you have [Golang](https://golang.org/), [GCC](http://gcc.gnu.org/), [Node.js](https://nodejs.org/) and [NPM](https://www.npmjs.com/) installed. Then download the source code, and follow these steps:

$ ./build.sh package -f ezbookkeeping.tar.gz
$ ./build.sh package -o ezbookkeeping.tar.gz

All the files will be packaged in `ezbookkeeping.tar.gz`.

Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Types:
Options:
-r, --release Build release (The script will use environment variable "RELEASE_BUILD" to detect whether this is release building by default)
-f, --file Package file name (For "package" type only)
-o, --output Package file name (For "package" type only)
-t, --tag Docker tag (For "docker" type only)
-h, --help Show help
EOF
Expand All @@ -55,7 +55,7 @@ parse_args() {
--release | -r)
RELEASE="1"
;;
--file | -f)
--output | -o)
PACKAGE_FILENAME="$2"
shift
;;
Expand Down

0 comments on commit f21a7f7

Please sign in to comment.