aboutsummaryrefslogtreecommitdiff
path: root/commands.md
blob: 00c3e621a247b4d7f55442f360bd7967bf86d8c4 (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
# Count lines of code

```
cd ~/lux/ && find . -name '*.lux' | xargs wc -l

## Sorted by number of lines per file.
cd ~/lux/ && find . -name '*.lux' | xargs wc -l | sort -rn
```

---

# Clean everything

```
cd ~/lux/lux-bootstrapper/ && lein clean && \
cd ~/lux/stdlib/ && lein clean && \
cd ~/lux/lux-jvm/ && lein clean && \
cd ~/lux/lux-js/ && lein clean && \
cd ~/lux/lux-python/ && lein clean && \
cd ~/lux/lux-lua/ && lein clean && \
cd ~/lux/lux-ruby/ && lein clean && \
cd ~/lux/lux-php/ && lein clean && \
cd ~/lux/lux-scheme/ && lein clean && \
cd ~/lux/lux-cl/ && lein clean && \
cd ~/lux/lux-r/ && lein clean

```

---

# Leiningen plugin

## Install

```
cd ~/lux/lux-lein/ \
&& lein install
```