-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(build.sh): Adding options and running tests (#149)
* feat(build.sh): Adding options and running tests * Added running unit tests to the script * Added options to support different development flows (see help message below) * Allow symlinking to /usr/local/bin so that the script can be called from everywhere Usage message: Knative Client Build Script Usage: hack/build.sh [... options ...] with the following options: -f --fast Only build (without formatting, testing, code generation) -t --test Run tests even when used with --fast -u --update Update dependencies -h --help Display this help message --verbose Verbose script output (set -x) You can add a symbolic link to this build script into your PATH so that it can be called from everywhere. E.g.: ln -s .../hack/build.sh /usr/local/bin/kn_build.sh Examples: * Compile, format, tests, docs: build.sh * Compile only: build.sh --fast * Compile with tests: build.sh -f -t * doc(build.sh): Added documentation for new build.sh options * docs(build.sh): Cosmetic fixes * docs(build.sh): Tiny documentation fix * chore(build.sh): Another typo fix
- Loading branch information
1 parent
cf41ab2
commit 9221429
Showing
2 changed files
with
150 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters