From ba0e9f72bcc14f7f4d2deaebb0deba22bdb68412 Mon Sep 17 00:00:00 2001 From: Montmorency Date: Tue, 31 Aug 2021 17:00:49 +0100 Subject: [PATCH 1/4] Modified codegen to include app.js in ihp boilerplate static --- IHP/IDE/CodeGen/ApplicationGenerator.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/IHP/IDE/CodeGen/ApplicationGenerator.hs b/IHP/IDE/CodeGen/ApplicationGenerator.hs index 14f28c341..d33bf286d 100644 --- a/IHP/IDE/CodeGen/ApplicationGenerator.hs +++ b/IHP/IDE/CodeGen/ApplicationGenerator.hs @@ -117,6 +117,7 @@ generateGenericApplication applicationName = <> " \n" <> " \n" <> " \n" + <> " \n" <> " |]\n" <> "\n" <> "devScripts :: Html\n" From df198e549bfe868ed79eb8f3ae965e49d6911df1 Mon Sep 17 00:00:00 2001 From: Montmorency Date: Fri, 3 Sep 2021 14:54:58 +0100 Subject: [PATCH 2/4] maybe add app.js to code gen if it is included in boilerplate? --- ihp.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ihp.nix b/ihp.nix index 1f8d65d61..e44f1f833 100644 --- a/ihp.nix +++ b/ihp.nix @@ -137,7 +137,7 @@ mkDerivation { # For faster builds when hacking on IHP: # Uncommenting will build without optimizations - # configureFlags = [ "--flag FastBuild" ]; + configureFlags = [ "--flag FastBuild" ]; # Uncommenting will not generate documentation - # doHaddock = false; + doHaddock = false; } From 8f087ee48f2461f04d535d6c4fd336519f81ae1b Mon Sep 17 00:00:00 2001 From: Montmorency Date: Fri, 3 Sep 2021 15:20:49 +0100 Subject: [PATCH 3/4] adding app.js to code if this is to be shipped with boilerplate. --- IHP/IDE/CodeGen/ApplicationGenerator.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IHP/IDE/CodeGen/ApplicationGenerator.hs b/IHP/IDE/CodeGen/ApplicationGenerator.hs index d33bf286d..118f419c0 100644 --- a/IHP/IDE/CodeGen/ApplicationGenerator.hs +++ b/IHP/IDE/CodeGen/ApplicationGenerator.hs @@ -117,7 +117,7 @@ generateGenericApplication applicationName = <> " \n" <> " \n" <> " \n" - <> " \n" + <> " \n" <> " |]\n" <> "\n" <> "devScripts :: Html\n" From 2db81b8eafd352d1a19f9836c3c04a3fc5409bd9 Mon Sep 17 00:00:00 2001 From: Montmorency Date: Fri, 3 Sep 2021 15:21:39 +0100 Subject: [PATCH 4/4] patching up nix file --- ihp.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ihp.nix b/ihp.nix index e44f1f833..1f8d65d61 100644 --- a/ihp.nix +++ b/ihp.nix @@ -137,7 +137,7 @@ mkDerivation { # For faster builds when hacking on IHP: # Uncommenting will build without optimizations - configureFlags = [ "--flag FastBuild" ]; + # configureFlags = [ "--flag FastBuild" ]; # Uncommenting will not generate documentation - doHaddock = false; + # doHaddock = false; }