package name fix
This commit is contained in:
parent
31541d3f17
commit
d385e284b9
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
||||
.PHONY: code-gen
|
||||
code-gen:
|
||||
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
|
||||
deps:
|
||||
|
@ -8,12 +8,12 @@ git_repo_id=$2
|
||||
release_note=$3
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
module github.com/GIT_USER_ID/GIT_REPO_ID
|
||||
module github.com/nordix-airship/go-redfish/client
|
||||
|
||||
require (
|
||||
github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6
|
||||
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
|
||||
github.com/antihax/optional v0.0.0-20180406194304-ca021399b1a6
|
||||
golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user