on master help sign in
stack init is not really optional

stack build complains if there is no stack.yaml so the previous comment is misleading for people who don't know what stack init does.

commit70ee447ff10b2ca46a28f8a5c8a250c48d91e46e authorThomas Koch <thomas@koch.ro> dateSat 23 Jul 2016, 12:14 (10 years ago) parent24e6d68
1 file changed+1−1
web/tutorials/01-installation.markdown+1−1
web/tutorials/01-installation.markdown+1−1
@@ -38,7 +38,7 @@ The file `site.hs` holds the configuration of your site, as an executable
3838haskell program. We can compile and run it like this:
3939
4040 $ cd my-site
41− $ stack init # To create stack.yaml
41+ $ stack init # creates stack.yaml file based on my-site.cabal
4242 $ stack build
4343 $ stack exec site build
4444