@@ -4,25 +4,7 @@ set -e # Exit with nonzero exit code if anything fails
SOURCE_BRANCH="master"
TARGET_BRANCH="gh-pages"
-function beforeCompile {
- out='./docs/data/extensions.json'
- first=1
- echo '[' > $out
- for file in `find src/extensions -name "extension.json" | sort`
- do
- if [ $first -eq 0 ]
- then
- echo ',' >> $out
- else
- first=0
- fi
- cat $file >> $out
- done
- echo ']' >> $out
-}
-
function doCompile {
- beforeCompile
bundle exec jekyll build
}