Skip to content

Commit 294f4fc

Browse files
authored
build: remove paths to outdated artifacts in makefile clean (#59)
1 parent b91c571 commit 294f4fc

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,12 @@ testname ?= ./...
2222
# Remove files
2323
.PHONY: clean
2424
clean:
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
3330
init:
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
5450
build: 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
6257
build-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

0 commit comments

Comments
 (0)