]> Git — Sourcephile - comptalang.git/blob - INSTALL
Ajout : Calculus.Lambda.Omega.Explicit.
[comptalang.git] / INSTALL
1 INSTALL
2 =======
3
4 == REQUIREMENTS
5
6 - GHC >= 7.4
7 - cabal-install >= 0.14
8
9 === Under Debian
10
11 ----
12 % sudo apt-get install ghc cabal-install
13 ----
14
15 == DOWNLOAD
16
17 === With Git
18
19 ----
20 % git clone git://git.autogeree.net/hcompta
21 % cd hcompta
22 ----
23
24 === With any HTTP client
25
26 ----
27 % curl -o hcompta.tar.gz 'http://git.autogeree.net/?p=hcompta.git;a=snapshot;sf=tgz;h=HEAD'
28 % tar xvf hcompta.tar.gz
29 % cd hcompta-HEAD-*
30 ----
31
32 == COMPILE
33
34 ----
35 % cabal update
36 % (cd lib && cabal install --enable-tests)
37 % (cd cli && cabal install --enable-tests)
38 % (cd web && cabal install --enable-tests)
39 ----
40
41 == TEST
42
43 ----
44 % (cd lib && cabal test --show-details=always)
45 % (cd cli && cabal test --show-details=always)
46 % (cd web && cabal test --show-details=always)
47 ----
48
49 == DOCUMENT
50
51 ----
52 % (cd lib && cabal haddock --hyperlink-source)
53 % (cd cli && cabal haddock --hyperlink-source)
54 % (cd web && cabal haddock --hyperlink-source)
55 ----