Fix for Issue 29 (languages)

This commit is contained in:
sean kenny
2014-09-04 14:37:09 +01:00
parent 4140f6aae9
commit 79ef1f0820
65 changed files with 125 additions and 11767 deletions
+7 -15
View File
@@ -1,7 +1,6 @@
#!/usr/bin/env bash
cd "`dirname $0`/.."
proj_dir="$PWD"
echo
echo "This script assumes the following:"
@@ -27,23 +26,16 @@ read cdnjs_dir_override
if [[ "$cdnjs_dir_override" ]]
then
cdnjs_dir="$cdnjs_dir_override"
fi
fi
echo "Updating local copy of CDNJS..." && \
cd "$cdnjs_dir" && \
git pull upstream master && \
\
echo "Copying over our changes..." && \
cd "$proj_dir" && \
cp -r -f dist/cdnjs/* "$cdnjs_dir/ajax/libs/fullcalendar/" && \
\
echo "Running CDNJS's tests..." && \
cd "$cdnjs_dir" && \
cp -r -f dist/cdnjs/* "$cdnjs_dir/ajax/libs/fullcalendar" && \
cd $cdnjs_dir && \
npm test && \
\
echo "Building commit..." && \
git add "ajax/libs/fullcalendar/" && \
git add "ajax/libs/fullcalendar" && \
git commit -e -m "fullcalendar v$version" && \
echo && \
echo 'Pulling from upstream...' && \
git pull --rebase upstream master && \
echo && \
echo 'DONE. It is now up to you to run `'"cd $cdnjs_dir && git push origin master"'` and submit the PR to CDNJS.' && \
echo