Skip to content

Commit

Permalink
make it easy to create the final chrome app .zip
Browse files Browse the repository at this point in the history
  • Loading branch information
EffinMaggie committed Dec 4, 2014
1 parent 06463e0 commit 9567b6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -30,3 +30,4 @@ topologic-web.css.xml
*.gz
src/chrome/topologic.html
src/chrome/jquery*.js
chrome-app.zip
3 changes: 3 additions & 0 deletions makefile
Expand Up @@ -182,3 +182,6 @@ src/chrome/topologic.js: topologic-web.js src/chrome/jquery-2.1.1.min.js src/chr

src/chrome/topologic.html: src/web/topologic.xhtml xslt/chrome-prepare.xslt src/chrome/topologic.js topologic-web.css.xml
$(XSLTPROC) --stringparam root "$$(pwd)" -o "$@" xslt/chrome-prepare.xslt $<

chrome-app.zip: src/chrome/manifest.json src/chrome/topologic.html src/chrome/topologic.js src/chrome/jquery-2.1.1.min.js src/chrome/jquery.mobile-1.4.4.min.js src/chrome/background.js src/chrome/topologic-128.png src/chrome/topologic-16.png
zip -9jo $@ $^

0 comments on commit 9567b6b

Please sign in to comment.