Skip to content

Commit

Permalink
cli: Move main to nmpolicyctl
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Llorente <[email protected]>
  • Loading branch information
qinqon committed Jun 7, 2022
1 parent bbeef81 commit b940407
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ upgrade:

.PHONY: build
build:
go run ../cmd/nmstatectl --help > user-guide/main-help.txt
go run ../cmd/nmstatectl gen --help > user-guide/gen-help.txt
go run ../cmd/nmpolicyctl --help > user-guide/main-help.txt
go run ../cmd/nmpolicyctl gen --help > user-guide/gen-help.txt
if [ "${DEPLOY_URL}" != "" ]; then \
sed -i 's#^url:.*#url: "${DEPLOY_URL}"#' _config.yaml; \
sed -i 's#^baseurl:.*#baseurl: ""#' _config.yaml; \
Expand Down
2 changes: 1 addition & 1 deletion scripts/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [ -z "${OPT_BUILD}" ] && [ -z "${OPT_LINT}" ] && [ -z "${OPT_UTEST}" ] && [ -
fi

if [ -n "${OPT_BUILD}" ]; then
go build -o ./.out/nmpolicyctl ./cmd/nmstatectl/...
go build -o ./.out/nmpolicyctl ./cmd/nmpolicyctl/...
fi

if [ -n "${OPT_LINT}" ]; then
Expand Down

0 comments on commit b940407

Please sign in to comment.