Skip to content

Instantly share code, notes, and snippets.

@softwarebygabe
Last active October 30, 2019 14:11
Show Gist options
  • Save softwarebygabe/6ade699283232311c98c14893d61fe7f to your computer and use it in GitHub Desktop.
Save softwarebygabe/6ade699283232311c98c14893d61fe7f to your computer and use it in GitHub Desktop.
sample makefile setup
.PHONY: help
help:
@echo ''
@echo 'Makefile'
@echo ''
@echo 'Usage'
@echo ''
@echo ' make run Run the project'
@echo ' make test Run the unit tests'
@echo ' make cover Run the unit tests and enforce coverage'
@echo ''
.PHONY: run
run:
@echo 'run command'
.PHONY: test
test:
@echo 'test command'
.PHONY: cover
cover:
@echo 'cover command'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment