about summary refs log tree commit diff
path: root/pkgs/applications/misc/jekyll/update.sh
blob: 528f1062c733f212708d69ba15378aa2f6205393 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/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