depot/third_party/nixpkgs/pkgs/applications/misc/jekyll/update.sh
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

15 lines
324 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bundix zlib
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