Skip to content

Commit

Permalink
add 'make clean' job to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
specious committed Jul 5, 2021
1 parent 289094d commit 1bbbd6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
build: ensure-dir build-linux build-windows build-darwin compress

ensure-dir:
rm -rf bin
ensure-dir: clean
mkdir bin

build-linux:
Expand All @@ -16,6 +15,9 @@ build-darwin:
compress:
cd ./bin && find . -name 'scrape*' | xargs -I{} tar czf {}.tar.gz {}

clean:
rm -rf bin

snap-clean:
rm -f scrape_*_amd64.snap*
snapcraft clean
Expand Down

0 comments on commit 1bbbd6f

Please sign in to comment.