css preprocessor
This commit is contained in:
parent
e4317ec4fd
commit
023f1651f8
9 changed files with 136 additions and 114 deletions
|
@ -1,8 +1,13 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p nix -p coreutils -p gnused -p gawk
|
||||
#!nix-shell -i bash -p nix -p coreutils -p gnused -p gawk -p prefetch-npm-deps
|
||||
|
||||
set -exuo pipefail
|
||||
|
||||
# NPM
|
||||
checksum=$(prefetch-npm-deps package-lock.json)
|
||||
sed -i -e "s|npmDepsHash ? \".*\"|npmDepsHash ? \"$checksum\"|" default.nix
|
||||
|
||||
# Go
|
||||
go mod tidy
|
||||
failedbuild=$(nix build --impure --expr '(with import <nixpkgs> {}; pkgs.callPackage ./. { vendorHash = ""; }).roleypoly' 2>&1 || true)
|
||||
echo "$failedbuild"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue