git.iko.soy/typeable/pandoc
on master help sign in
Added stack install instructions to INSTALL.
commit397c18810e3226a2ff25d0b90b9ee17354d40d2b authorJohn MacFarlane <jgm@berkeley.edu> dateThu 13 Aug 2015, 09:26 (11 years ago) parente380cc7
1 file changed+20−2
INSTALL+20−2
INSTALL+20−2
@@ -8,8 +8,26 @@ There are also binary installers for Windows and Mac OS X.
88If you are installing the development version from github, see also:
99https://github.com/jgm/pandoc/wiki/Installing-the-development-version-of-pandoc
1010
11−Quick install
12−-------------
11+Quick install with stack
12+------------------------
13+
14+1. Install [stack](https://github.com/commercialhaskell/stack/wiki/Downloads).
15+
16+2. If you used git to get the pandoc source (as opposed to unpacking
17+ a release tarball), do
18+
19+ git submodule update --init
20+
21+3. In the pandoc source directory,
22+
23+ stack install
24+
25+ You may be prompted to run `stack setup`, which will automatically
26+ download the ghc compiler if needed.
27+
28+
29+Quick install with cabal
30+------------------------
1331
14321. Install the [Haskell platform]. This will give you [GHC] and
1533 the [cabal-install] build tool.