2018-04-19 22:11:09 +01:00
|
|
|
#!/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
|
2022-11-23 12:18:53 +00:00
|
|
|
BUNDLE_FORCE_RUBY_PLATFORM=true bundix --magic
|
2018-04-19 22:11:09 +01:00
|
|
|
rm -rf .bundle vendor
|
|
|
|
popd
|
|
|
|
done
|