ソースを参照

Fix deploy.sh

zhixin 7 年 前
コミット
d3a3a637fb
1 ファイル変更0 行追加18 行削除
  1. 0 18
      deploy.sh

+ 0 - 18
deploy.sh

@@ -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
 }