mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Additional improvements to the Makefile
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
parent
3d4059de02
commit
53e795384b
9
Makefile
9
Makefile
@ -30,16 +30,17 @@ APP=wtfutil
|
||||
|
||||
## build: builds a local version
|
||||
build:
|
||||
go build -o bin/${APP}
|
||||
@echo "Done"
|
||||
go build -o bin/${APP} -mod=vendor
|
||||
@echo "Done building"
|
||||
|
||||
## clean: removes old build cruft
|
||||
clean:
|
||||
rm -rf ./dist
|
||||
rm -rf ./bin/${APP}
|
||||
@echo "Done cleaning"
|
||||
|
||||
## contrib-check: checks for any contributors who have not been given due credit
|
||||
contrib_check:
|
||||
contrib-check:
|
||||
npx all-contributors-cli check
|
||||
|
||||
## coverage: figures out and displays test code coverage
|
||||
@ -77,7 +78,7 @@ run: build
|
||||
|
||||
## size: displays the lines of code (LoC) count
|
||||
size:
|
||||
loc --exclude _sample_configs/ _site/ docs/ Makefile *.md
|
||||
@loc --exclude _sample_configs/ _site/ docs/ Makefile *.md
|
||||
|
||||
## test: runs the test suite
|
||||
test: build
|
||||
|
Loading…
x
Reference in New Issue
Block a user