nixpkgs/pkgs/tools/security/wpscan/update.sh
2021-07-10 22:33:16 +02:00

12 lines
289 B
Bash
Executable file

#!/usr/bin/env nix-shell
#! nix-shell -i bash -p bash bundix bundler
set -e
cd "$(dirname "${BASH_SOURCE[0]}")"
rm -f Gemfile.lock Gemfile.lock
bundler lock
BUNDLE_GEMFILE=Gemfile bundler lock --lockfile=Gemfile.lock
bundix --gemfile=Gemfile --lockfile=Gemfile.lock --gemset=gemset.nix