package name fix
This commit is contained in:
parent
31541d3f17
commit
d385e284b9
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
.PHONY: code-gen
|
.PHONY: code-gen
|
||||||
code-gen:
|
code-gen:
|
||||||
rm -rf redfish_client
|
rm -rf redfish_client
|
||||||
openapi-generator generate -i ./spec/openapi.yaml -g go --package-name "client" -o client/
|
openapi-generator generate -i ./spec/openapi.yaml -g go --package-name "client" --git-repo-id go-redfish/client --git-user-id nordix-airship -o client/
|
||||||
|
|
||||||
.PHONY: deps
|
.PHONY: deps
|
||||||
deps:
|
deps:
|
||||||
|
@ -8,12 +8,12 @@ git_repo_id=$2
|
|||||||
release_note=$3
|
release_note=$3
|
||||||
|
|
||||||
if [ "$git_user_id" = "" ]; then
|
if [ "$git_user_id" = "" ]; then
|
||||||
git_user_id="GIT_USER_ID"
|
git_user_id="nordix-airship"
|
||||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$git_repo_id" = "" ]; then
|
if [ "$git_repo_id" = "" ]; then
|
||||||
git_repo_id="GIT_REPO_ID"
|
git_repo_id="go-redfish/client"
|
||||||
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
module github.com/GIT_USER_ID/GIT_REPO_ID
|
module github.com/nordix-airship/go-redfish/client
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6
|
github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6
|
||||||
|
Loading…
x
Reference in New Issue
Block a user