Delete build.sh
This commit is contained in:
parent
7afa8e3fce
commit
1a279fb13e
1 changed files with 0 additions and 12 deletions
12
build.sh
12
build.sh
|
@ -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
|
Loading…
Add table
Reference in a new issue