diff --git a/build.sh b/build.sh deleted file mode 100755 index 626342d..0000000 --- a/build.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash -SCRIPT_DIR=`dirname "$0"` -if command -v nix-shell &> /dev/null; then - # If in NixOS use shell.nix - nix-shell --pure $SCRIPT_DIR/shell.nix --run "cd $SCRIPT_DIR && hugo" -else - # Otherwise use global hugo - DIR=$PWD - cd $SCRIPT_DIR - hugo - cd $DIR -fi