-
Notifications
You must be signed in to change notification settings - Fork 0
/
Setup.txt
42 lines (34 loc) · 1.1 KB
/
Setup.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# TODO: Script to automate this!
#
# Basic idea is:
# * Create a main sandbox at "pfec" directory.
# * Create a sandbox for each sub-project referencing the main sandbox.
# * IMPORTANT: Install in order to avoid dependencies conflicts.
# Maybe using "cabal sandbox add-source" be helpful.
cd .../pfec # go to 'pfec' directory
cabal sandbox init
cd server-common
cabal sandbox init --sandbox=../.cabal-sandbox
cabal install --dependencies-only
cabal install
cd ../jwt-min
cabal sandbox init --sandbox=../.cabal-sandbox
cabal install --dependencies-only
cabal install
cd ../auth-server
cabal sandbox init --sandbox=../.cabal-sandbox
cabal sandbox add-source server-common
cabal install --dependencies-only
cabal install
cd ../facade-server
cabal sandbox init --sandbox=../.cabal-sandbox
cabal sandbox add-source server-common
cabal install --dependencies-only
cabal install
cd ../rest-client
cabal sandbox init --sandbox=../.cabal-sandbox
cabal sandbox add-source server-common
cabal sandbox add-source auth-server
cabal sandbox add-source facade-server
cabal install --dependencies-only
cabal install