aboutsummaryrefslogtreecommitdiff
path: root/stdlib/commands.md
blob: 375800f925b397247e7d7d19fdd4a1a2e5a554c6 (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
# Standard Library

## Test

```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile bibliotheca lux auto test

cd ~/lux/stdlib/ \
&& lux clean \
&& lux 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
```

## Generate documentation

```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile scriptum lux auto build
```

---

# Aedifex: Build system

## Build

```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile aedifex lux auto build

cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile aedifex lux build \
&& mv target/program.jar aedifex.jar
```

## Test

```
cd ~/lux/stdlib/ \
&& lein clean \
&& lein with-profile aedifex lux auto test
```