nixpkgs/pkgs/by-name/je/jekyll/update.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
358 B
Bash
Raw Normal View History

#!/usr/bin/env nix-shell
2024-02-26 20:33:20 +00:00
#!nix-shell -i bash -p bundix zlib libyaml
2024-06-26 16:02:38 +00:00
set -o errexit -o nounset
script_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
for directory in "basic" "full"; do
pushd "$script_dir/$directory"
rm -f Gemfile.lock gemset.nix
BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic
rm -rf .bundle vendor
popd
done