depot/third_party/nixpkgs/pkgs/applications/misc/jekyll/update.sh
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

15 lines
332 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bundix zlib libyaml
set -o errexit
set -o nounset
readonly BASEDIR="$(dirname $(readlink -f $0))"
for directory in "basic" "full"; do
pushd "$BASEDIR/$directory"
rm -f Gemfile.lock gemset.nix
BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic
rm -rf .bundle vendor
popd
done