Skip to content

Commit

Permalink
Build .envrc already during ihp-new instead of on first project start
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten committed Jun 19, 2021
1 parent 04efafb commit 092a043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProjectGenerator/bin/ihp-new
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ cd "$PROJECT_NAME"
rm -rf ".git"
chmod go-w .ghci || true

nix-shell -j auto --cores 0 --quiet --run 'make -s all; new-application Web'
nix-shell -j auto --cores 0 --quiet --run 'make -s all .envrc; new-application Web'

if [[ "$BOILERPLATE_GIT_BRANCH" == "elm" ]]; then
nix-shell -j auto --cores 0 --quiet --run 'patch Web/View/Layout.hs -i Layout.hs.patch; patch Web/View/Static/Welcome.hs -i Welcome.hs.patch; npm install'
Expand Down

0 comments on commit 092a043

Please sign in to comment.