Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/utils/platforms/xulrunner/post-commit
diff options
context:
space:
mode:
Diffstat (limited to 'utils/platforms/xulrunner/post-commit')
-rwxr-xr-xutils/platforms/xulrunner/post-commit36
1 files changed, 0 insertions, 36 deletions
diff --git a/utils/platforms/xulrunner/post-commit b/utils/platforms/xulrunner/post-commit
deleted file mode 100755
index 2774458..0000000
--- a/utils/platforms/xulrunner/post-commit
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-# set -x
-#
-# An example hook script that is called after a successful
-# commit is made.
-#
-# To enable this hook, make this file executable.
-
-# getting branch name
-ref=$(<.git/HEAD)
-branch=${ref##ref: refs/heads/}
-
-origin=$(pwd)
-root=$origin; while [ ! -d "$root/.git" ]; do root="$root/.."; done
-
-extensions="$root/platforms/xulrunner/extensions"
-builds="$extensions/builds"
-
-# making builds folder
-mkdir -p $builds
-
-# building narwzilla@narwhaljs.org
-extension="$extensions/narwzilla@narwhaljs.org"
-build="$builds/narwzilla@narwhaljs.org.xpi"
-rm -f $build
-cd $extension
-zip -r $build chrome components modules defaults chrome.manifest install.rdf >/dev/null
-
-# building narwzilla.platform@narwhaljs.org.xpi
-extension="$extensions/narwhal@narwhaljs.org"
-build="$builds/narwhal@narwhaljs.org.xpi"
-rm -f $build
-cd $extension
-zip -r $build *.* chrome components defaults modules narwhal/*.* narwhal/lib narwhal/packages/jack narwhal/platforms/default narwhal/platforms/narwzilla/lib/ narwhal/platforms/narwzilla/*.* -x *.git/* >/dev/null
-
-cd $origin