From 222b52201f17be7217e7fab4a98b23109cbf4910 Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Thu, 1 Jun 2017 17:05:39 +0100 Subject: [PATCH] Updated README to fix a typo and add some clarificaiton about directories --- README.html | 3 ++- README.md | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.html b/README.html index 2525fa5..b780562 100644 --- a/README.html +++ b/README.html @@ -19,6 +19,7 @@
$ sudo aptitude install haskell-platform haskell-stack

).

I have one package for each day, to save time waiting for Stack to check every executable before compiling what's changed. Each package needs a separate directory tree and a separate .cabal file.

+

To work on a project, cd into that project's directory.

Compile with

stack build

or

@@ -28,7 +29,7 @@

Run interactively with

stack ghci adventofcode1601:exe:advent01

To profile, use

-
stack build --executable-profiling --library-profiling -ghc-options="-fprof-auto -rtsopts" adventofcode1601
+
stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" adventofcode1601

then run with

stack exec -- advent01 +RTS -p -hy

Readme

diff --git a/README.md b/README.md index 78f7849..cb6a338 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ $ sudo aptitude install haskell-platform haskell-stack I have one package for each day, to save time waiting for Stack to check every executable before compiling what's changed. Each package needs a separate directory tree and a separate `.cabal` file. +To work on a project, `cd` into that project's directory. + Compile with ``` stack build @@ -38,7 +40,7 @@ stack ghci adventofcode1601:exe:advent01 To profile, use ``` -stack build --executable-profiling --library-profiling -ghc-options="-fprof-auto -rtsopts" adventofcode1601 +stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" adventofcode1601 ``` then run with ``` -- 2.34.1