nixpkgs/pkgs/applications/misc/jekyll/update.sh
Michael Weiss 7c8200811b jekyll: 3.7.3 -> 3.8.0
And add an update script.
2018-04-19 23:15:20 +02:00

16 lines
292 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
bundix --magic
rm -rf .bundle vendor
popd
done