freehold-cottage/bin/serve

13 lines
268 B
Plaintext
Raw Normal View History

2024-11-07 01:17:32 +00:00
#!/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'
2024-11-18 22:06:09 +00:00
bundle install --full-index --gemfile=Gemfile
2024-11-07 01:17:32 +00:00
echo 'Building site'
bundle exec jekyll serve
"