Skip to content

Instantly share code, notes, and snippets.

@falcondai
Last active December 21, 2015 03:58
Show Gist options
  • Save falcondai/6245939 to your computer and use it in GitHub Desktop.
Save falcondai/6245939 to your computer and use it in GitHub Desktop.
Makefile for packaging chrome extensions
EXT_NAME=omni
all: clean pages package
pages:
jade jade/*.jade -Po .
clean:
rm -rf *~
rm -f $(EXT_NAME).zip
package: manifest.json
zip -r $(EXT_NAME) * -x jade/ jade/* Makefile $(EXT_NAME).zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment