freehold-cottage/bin/serve

13 lines
255 B
Bash
Executable file

#!/usr/bin/env bash
rm -rf _site
nix-shell -p ruby_3_3 imagemagick pkg-config --pure --command "
echo 'Installing bundles'
bundle config set path 'vendor/cache'
bundle install --gemfile=Gemfile
echo 'Building site'
bundle exec jekyll serve
"