Permalink
Browse files

Cleaning up extension Makefile

  • Loading branch information...
1 parent 3dfab2c commit c5fa66be00656643088693f2352be22bfb7bb5fe @notmasteryet notmasteryet committed Mar 14, 2012
Showing with 14 additions and 5 deletions.
  1. +1 −0 extension/firefox/.gitignore
  2. +13 −5 extension/firefox/Makefile
@@ -1,3 +1,4 @@
content/swf/*
+content/avm2/*
LICENSE
*.xpi
View
@@ -1,11 +1,19 @@
# Just builds a ff extension
build:
- rm -rf content/swf
- rm -rf content/avm2
- cp -r ../../src/swf content/
- cp -r ../../src/avm2 content/
- cp ../../LICENSE .
+ # Cleaning old files
+ -rm -rf content/swf
+ -rm -rf content/avm2
-rm shumway.xpi
+ # Coping JavaScript content files
+ mkdir content/swf
+ cp ../../src/swf/*.js content/swf/
+ mkdir content/avm2
+ cp ../../src/avm2/*.js content/avm2/
+ mkdir content/avm2/utils
+ cp ../../src/avm2/utils/*.js content/avm2/utils/
+ cp ../../LICENSE .
+ # Removing hidden files
find . -name ".DS_Store" | xargs rm
+ # Packaging XPI file
zip -r shumway.xpi install.rdf bootstrap.js content components LICENSE

0 comments on commit c5fa66b

Please sign in to comment.