dashboard/build.sh
author Dave Raggett <dsr@w3.org>
Wed, 22 Jun 2011 09:49:32 +0100
changeset 22 6f4551061900
parent 20 af4d2c9c7b43
child 24 056ef2be1351
permissions -rw-r--r--
tweak to build script to remove it from the xpi file it builds
0
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     1
#!/bin/bash
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     2
# build.sh -- XPI files for mozilla extensions
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     3
# by Dave Raggett <dsr@w3.org>
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     4
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     5
TARGET=dashboard
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     6
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     7
# to include the readme and build script etc.
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     8
touch $TARGET.xpi
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
     9
rm $TARGET.xpi
22
6f4551061900 tweak to build script to remove it from the xpi file it builds
Dave Raggett <dsr@w3.org>
parents: 20
diff changeset
    10
zip -r ../$TARGET.xpi install.rdf chrome.manifest chrome defaults readme.txt
0
8ed5ca0acbac Initial commit
Dave Raggett <dsr@w3.org>
parents:
diff changeset
    11
mv ../$TARGET.xpi .