From 259e8ab7a3a7e607263ca07e53787d85881bab8a Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 25 Sep 2018 19:13:16 +0200 Subject: Re-bumped much of the application MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- script/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'script/build.sh') diff --git a/script/build.sh b/script/build.sh index d34e65d..006a4b4 100755 --- a/script/build.sh +++ b/script/build.sh @@ -27,10 +27,21 @@ pushd $DIR # Clean up previous build. rm -rf $BUILD_DEST +# JS dependencies. +yarn +yarn run webpack-single-shot + # Build && test. bundle bundle exec jekyll build -s $BUILD_SOURCE -d $BUILD_DEST +mkdir $BUILD_DEST/about $BUILD_DEST/en/about + +# Hack to fix some issues with the about page... +cp $BUILD_DEST/about.html $BUILD_DEST/about/index.html +cp $BUILD_DEST/en/about.html $BUILD_DEST/en/about/index.html + bundle exec rubocop bundle exec rake +set +x echo "Jekyll has built your application in '$BUILD_DEST'" -- cgit v1.2.3