Skip to content

Commit

Permalink
Fixed prod build not requiring build/Generated/Types.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpscholten authored Aug 27, 2020
1 parent ef80220 commit 034b2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IHP/Makefile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ build/bin/RunUnoptimizedProdServer: Main.hs build/bin static/prod.js static/prod
rm -f build/bin/RunProdServer
ln -s `basename $@` build/bin/RunProdServer

build/bin/RunOptimizedProdServer: Main.hs build/bin static/prod.js static/prod.css ## Full production build with all ghc optimizations (takes a while)
build/bin/RunOptimizedProdServer: Main.hs build/bin static/prod.js static/prod.css build/Generated/Types.hs ## Full production build with all ghc optimizations (takes a while)
mkdir -p build/RunOptimizedProdServer
ghc -O2 ${GHC_OPTIONS} ${PROD_GHC_OPTIONS} $< -o $@ -odir build/RunOptimizedProdServer -hidir build/RunOptimizedProdServer
chmod +x $<
Expand Down

0 comments on commit 034b2ef

Please sign in to comment.