Skip to content

Instantly share code, notes, and snippets.

@layerssss
Created March 7, 2013 03:41
Show Gist options
  • Save layerssss/5105432 to your computer and use it in GitHub Desktop.
Save layerssss/5105432 to your computer and use it in GitHub Desktop.
sample makefile for nodejs project
all: components node_modules
components: node_modules component.json
node_modules/bower/bin/bower install
touch $@
node_modules: package.json
npm install
touch $@
clean:
rm -Rf components node_modules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment