File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,16 +22,12 @@ testname ?= ./...
2222# Remove files
2323.PHONY : clean
2424clean :
25- rm -f ./slack
26- rm -f ./slack-cli
27- rm -f ./hermes
2825 rm -rf ./bin/
2926 rm -rf ./dist/
3027
3128# Initialize project
3229.PHONY : init
3330init :
34- # Get the latest tags to build correctly
3531 git fetch origin --tags
3632
3733# Run all unit tests
@@ -53,15 +49,13 @@ lint:
5349.PHONY : build
5450build : lint clean
5551 mkdir bin/
56- # set version using the latest tag plus short revision
5752 go build -ldflags=" $( LDFLAGS) " -o bin/slack
5853 SLACK_DISABLE_TELEMETRY=" true" ./bin/slack version --skip-update
5954
6055# Build the CLI for CI environments. Don't run lint or test
6156.PHONY : build-ci
6257build-ci : clean
6358 mkdir bin/
64- # set version using the latest tag plus short revision
6559 go build -ldflags=" -s -w $( LDFLAGS) " -o bin/slack
6660 SLACK_DISABLE_TELEMETRY=" true" ./bin/slack version --skip-update
6761
You can’t perform that action at this time.
0 commit comments