blob: 893e0d271b968018d70d9a80e52aa188ec13f818 (
plain)
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
# Standard Library
## Test
```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile bibliotheca lux auto test
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with bibliotheca auto test
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with js with bibliotheca auto test
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with python with bibliotheca auto test
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with lua with bibliotheca auto test
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with ruby with bibliotheca auto test
```
## Deploy
```
cd ~/lux/stdlib/ && lein install
cd ~/lux/stdlib/ && mvn install:install-file -Dfile=target/library.tar -DgroupId=com.github.luxlang -DartifactId=stdlib -Dversion=0.6.0-SNAPSHOT -Dpackaging=tar
cd ~/lux/stdlib/ && mvn deploy:deploy-file \
-Durl=https://<username>:<password>@oss.sonatype.org/content/repositories/snapshots/ \
-Dfile=target/library.tar \
-DgroupId=com.github.luxlang \
-DartifactId=stdlib \
-Dversion=0.6.0-SNAPSHOT \
-Dpackaging=tar
cd ~/lux/stdlib/ \
&& lux install
```
## Generate documentation
```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile scriptum lux auto build
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with documentation auto test
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with documentation build \
&& java -jar target/program.jar > ~/documentation.md
```
---
# Aedifex: Build system
## Build
```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile aedifex lux auto build
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with aedifex auto build
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with aedifex build \
&& mv target/program.jar aedifex.jar
```
## Test
```
cd ~/lux/stdlib/ \
&& lux clean \
&& lux with jvm with aedifex auto test
```
|