aboutsummaryrefslogtreecommitdiff
path: root/commands.md
blob: 93296d2597a6276f85ecba7db311b9a0c4181702 (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
# 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
```

---

# Find & replace

```
cd ~/lux && grep -r "" --include *.lux | sort
```

---

# Clean everything

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

cd ~/lux/lux-php/ && lux clean && \
cd ~/lux/lux-scheme/ && lux clean && \
cd ~/lux/lux-cl/ && lein lux && \
cd ~/lux/lux-r/ && lux clean

```

---

[Deploy Clojure Projects to Maven Central with Leiningen](https://kpow.io/how-to/deploy-clojure-projects-to-maven-central/)
[How to Generate PGP Signatures with Maven](https://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven/)
https://central.sonatype.org/publish/requirements/gpg/
https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md