diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-11-18 23:56:25 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-11-18 23:56:25 +0100 |
commit | b23284cba28335f61595f2264685b1bbafc19183 (patch) | |
tree | 696cbfc2b5a609c636e0d1d7a3a2f9ad7a302266 /library/moment/scripts | |
parent | 0c163c4d038a4c26335af1bde366d8ef9e53c464 (diff) | |
download | volse-hubzilla-b23284cba28335f61595f2264685b1bbafc19183.tar.gz volse-hubzilla-b23284cba28335f61595f2264685b1bbafc19183.tar.bz2 volse-hubzilla-b23284cba28335f61595f2264685b1bbafc19183.zip |
move moment.min.js and remove unneeded files
Diffstat (limited to 'library/moment/scripts')
-rwxr-xr-x | library/moment/scripts/npm_prepublish.sh | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/library/moment/scripts/npm_prepublish.sh b/library/moment/scripts/npm_prepublish.sh deleted file mode 100755 index a4889a55c..000000000 --- a/library/moment/scripts/npm_prepublish.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -set -e - -if [ "$#" != 1 ]; then - echo "Please provide tag to checkout" >&2 - exit 1 -fi -tag="$1" - -while [ "$PWD" != '/' -a ! -f moment.js ]; do - cd .. -done - -if [ ! -f moment.js ]; then - echo "Run me from the moment repo" >&2 - exit 1 -fi - -basename=$(basename $PWD) -src=moment-npm-git -dest=moment-npm - -cd .. - -rm -rf $src $dest - -git clone $basename $src -mkdir $dest - - -cp $src/moment.js $dest -cp $src/package.json $dest -cp $src/README.md $dest -cp $src/LICENSE $dest -cp -r $src/locale $dest -cp -r $src/min $dest -cp $src/ender.js $dest -cp $src/package.js $dest - -rm -rf $src - -echo "Check out $dest" |