nixos-config/modules/accentor/update.sh
Charlotte Van Petegem 6cad091611
Update accentor
2021-01-30 12:53:31 +01:00

8 lines
340 B
Bash
Executable file

#!/usr/bin/env nix-shell
#!nix-shell -p curl yarn2nix bundix -i bash
curl -L -O https://github.com/accentor/api/raw/develop/Gemfile
curl -L -O https://github.com/accentor/api/raw/develop/Gemfile.lock
curl -L -O https://github.com/accentor/web/raw/develop/yarn.lock
yarn2nix --lockfile yarn.lock --no-patch > yarn.nix
rm yarn.lock
bundix -l