Skip to content

Commit

Permalink
More tweaks to the IDX config
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesor committed Nov 11, 2024
1 parent 81a9cec commit 5da97de
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions examples/html/gpay-web-101/idx-template.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# of the checked-out Git folder containing this template.
cp -rf ${./.} "$out"
# Set some permissions
chmod -R +w "$out"
# Copy IDX config
mkdir "$out"/.idx
cp ${./dev.nix} "$out"/.idx/dev.nix
# Set some permissions
chmod -R u+w "$out"
# Remove the template files themselves and any connection to the template's
# Git repository
rm -rf "$out/.git" "$out/idx-template".{nix,json}
rm -rf "$out/.git" "$out/idx-template".{nix,json} "$out/dev.nix"
'';
}
12 changes: 8 additions & 4 deletions examples/html/gpay-web-201/idx-template.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@
# of the checked-out Git folder containing this template.
cp -rf ${./.} "$out"
# Set some permissions
chmod -R +w "$out"
# Copy IDX config
mkdir "$out"/.idx
cp ${./dev.nix} "$out"/.idx/dev.nix
# Set some permissions
chmod -R u+w "$out"
# Remove the template files themselves and any connection to the template's
# Git repository
rm -rf "$out/.git" "$out/idx-template".{nix,json}
'';
rm -rf "$out/.git" "$out/idx-template".{nix,json} "$out/dev.nix"
'';
}

0 comments on commit 5da97de

Please sign in to comment.