mirror of
https://github.com/RGBCube/HTMNIX
synced 2025-05-31 04:28:13 +00:00
Remove useless --apply from build.sh
This commit is contained in:
parent
7f54a2fedc
commit
f3b874a89e
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -13,7 +13,7 @@ for file in $(find site -type f); do
|
||||||
if [[ ! "${file##*/}" =~ ^_ ]]; then
|
if [[ ! "${file##*/}" =~ ^_ ]]; then
|
||||||
if [[ "$file" =~ .nix$ ]]; then
|
if [[ "$file" =~ .nix$ ]]; then
|
||||||
echo "Processing file $file to _${file%.nix}.html..."
|
echo "Processing file $file to _${file%.nix}.html..."
|
||||||
TARGET_FILE=$(realpath "$file") nix eval "${HTMNIX_REF:-github:RGBCube/HTMNIX}#result" --impure --raw --apply toString > "_${file%.nix}.html"
|
TARGET_FILE=$(realpath "$file") nix eval "${HTMNIX_REF:-github:RGBCube/HTMNIX}#result" --impure --raw > "_${file%.nix}.html"
|
||||||
else
|
else
|
||||||
echo "Copying file $file to _$file..."
|
echo "Copying file $file to _$file..."
|
||||||
cp "$file" "_$file"
|
cp "$file" "_$file"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue