mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
16 lines
332 B
Bash
Executable File
16 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
|