Created
March 11, 2015 20:01
-
-
Save joshblack/7a7a9629bf136e4849dc to your computer and use it in GitHub Desktop.
Useful Makefile commands for Front-End Projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't forget that Makefiles need tabs not spaces! | |
BIN = "./node_modules/.bin" | |
patch: | |
$(call release,patch) | |
minor: | |
$(call release,minor) | |
major: | |
$(call release,major) | |
build: | |
webpack | |
watch: | |
webpack-dev-server | |
define release | |
npm version $(1) | |
endef |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment