Commit 4a9b37ad authored by Gurvinder Singh's avatar Gurvinder Singh
Browse files

build to run in without c depenency

parent 134f25b6
Pipeline #11845 passed with stages
in 1 minute and 42 seconds
...@@ -23,3 +23,5 @@ _testmain.go ...@@ -23,3 +23,5 @@ _testmain.go
*.exe *.exe
*.test *.test
*.prof *.prof
jwt-tokenissuer
...@@ -7,7 +7,7 @@ all: test build dist ...@@ -7,7 +7,7 @@ all: test build dist
build: build:
mkdir -p dist/linux-amd64 mkdir -p dist/linux-amd64
${GO_EXECUTABLE} build -o dist/linux-amd64/jwt-tokenissuer -ldflags "-X main.version=${VERSION}" CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ${GO_EXECUTABLE} build -o dist/linux-amd64/jwt-tokenissuer -ldflags "-X main.version=${VERSION}"
test: test:
${GO_EXECUTABLE} test --short $(PACKAGE_DIRS) ${GO_EXECUTABLE} test --short $(PACKAGE_DIRS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment