From 204d9fd2b24e19f7e2810514f23fadaae262b9d7 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 20 Mar 2017 16:38:01 +0100 Subject: [PATCH] Remove CI install scripts. Fixes #4 --- ci-install-hugo.sh | 13 ------------- ci-install-yuicompressor.sh | 7 ------- 2 files changed, 20 deletions(-) delete mode 100755 ci-install-hugo.sh delete mode 100755 ci-install-yuicompressor.sh diff --git a/ci-install-hugo.sh b/ci-install-hugo.sh deleted file mode 100755 index f13b14a..0000000 --- a/ci-install-hugo.sh +++ /dev/null @@ -1,13 +0,0 @@ -HUGO_VERSION=0.19 -HUGO_DOWNLOAD=hugo_${HUGO_VERSION}_linux-64bit.tar.gz -HUGO_FILENAME=hugo_${HUGO_VERSION}_linux_amd64 - -set -x -set -e - -# Install Hugo if not already cached or upgrade an old version. -if [ ! -e $CIRCLE_BUILD_DIR/bin/hugo ] || ! [[ `hugo version` =~ v${HUGO_VERSION} ]]; then - wget https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/${HUGO_DOWNLOAD} - tar xvzf ${HUGO_DOWNLOAD} -C $CIRCLE_BUILD_DIR/bin/ - ln -sf $CIRCLE_BUILD_DIR/bin/$HUGO_FILENAME/$HUGO_FILENAME $CIRCLE_BUILD_DIR/bin/hugo -fi diff --git a/ci-install-yuicompressor.sh b/ci-install-yuicompressor.sh deleted file mode 100755 index b064ad6..0000000 --- a/ci-install-yuicompressor.sh +++ /dev/null @@ -1,7 +0,0 @@ -set -x -set -e - -# Install yuicompressor if not already cached -if [ ! -e $CIRCLE_BUILD_DIR/bin/yuicompressor ]; then - npm install -g --prefix ${CIRCLE_BUILD_DIR} yuicompressor -fi