2020-04-24 23:36:52 +00:00
|
|
|
#!/usr/bin/env nix-shell
|
2024-04-21 15:54:59 +00:00
|
|
|
#!nix-shell -i bash -p bundix zlib libyaml
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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
|
2022-11-27 09:42:12 +00:00
|
|
|
BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic
|
2020-04-24 23:36:52 +00:00
|
|
|
rm -rf .bundle vendor
|
|
|
|
popd
|
|
|
|
done
|