anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / misc / jekyll / update.sh
blob6d97872e2bf645bfab7caa4471af8addc87bb1b7
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p bundix zlib libyaml
4 set -o errexit -o nounset
6 script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
8 for directory in "basic" "full"; do
9 pushd "$script_dir/$directory"
10 rm -f Gemfile.lock gemset.nix
11 BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic
12 rm -rf .bundle vendor
13 popd
14 done