nixos-config/modules/services/accentor/update.sh
Charlotte Van Petegem 0e3c2a3b9e
Update accentor
2021-07-24 13:57:19 +02:00

8 lines
383 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/main/Gemfile
curl -L -O https://github.com/accentor/api/raw/main/Gemfile.lock
curl -L -O https://github.com/accentor/web/raw/main/package.json
curl -L -O https://github.com/accentor/web/raw/main/yarn.lock
yarn2nix --lockfile yarn.lock --no-patch > yarn.nix
bundix -l