-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathspago--install.sh
77 lines (61 loc) · 1.15 KB
/
spago--install.sh
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/sh
# This file will re-install and compile all the code in every folder
# in this project. It assumes that one has already installed
# purescript, spago, and dhall-to-json.
#
# Use it to update your entire project on new releases
cd 11-Syntax/01-Basic-Syntax/
pwd
spago install
cd ../../
cd 11-Syntax/02-Foreign-Function-Interface/
pwd
spago install
cd ../../
cd 11-Syntax/03-Type-Level-Programming-Syntax/
pwd
spago install
cd ../../
cd 11-Syntax/04-Module-Syntax/
pwd
spago install
cd ../../
cd 11-Syntax/05-Prelude-Syntax/
pwd
spago install
cd ../../
cd 11-Syntax/06-Modifying-Do-Ado-Syntax-Sugar/
pwd
spago install
cd ../../
## Hello World
cd 21-Hello-World/02-Effect-and-Aff/
pwd
spago install
cd ../../
cd 21-Hello-World/03-Debugging/
pwd
spago install
cd ../../
cd 21-Hello-World/04-Collections-and-Loops
pwd
spago install
cd ../../
cd 21-Hello-World/05-Application-Structure/
pwd
spago install
cd ../../
cd 21-Hello-World/06-Type-Level-Programming/
pwd
spago install
cd ../../
cd 21-Hello-World/07-Testing/
pwd
spago install
cd ../../
cd 21-Hello-World/08-Benchmarking/
pwd
npm install benchmark
spago install
cd ../../
echo "... Finished ...."