ls_jar.clj example

This commit is contained in:
Michiel Borkent 2020-05-20 23:39:20 +02:00
parent 57301236c2
commit 05860ae96c
2 changed files with 15 additions and 3 deletions

@ -1 +1 @@
Subproject commit 5a2f68c1eaf843c4b1a8ccf7980d25d9e959cb78
Subproject commit 815babf5c04a9af2a95c49a4a51418742c7f401a

View file

@ -266,12 +266,12 @@ $ examples/which.clj rg
### pom.xml version
A script to retrieve the version from a `pom.xml` file. See
[examples/pom_version.clj](examples/pom_version.clj). Written by [@wilkerlucio](https://github.com/wilkerlucio).
[examples/pom_version.clj](../examples/pom_version.clj). Written by [@wilkerlucio](https://github.com/wilkerlucio).
### Whatsapp frequencies
Show frequencies of messages by user in Whatsapp group chats.
See [examples/whatsapp_frequencies.clj](examples/whatsapp_frequencies.clj)
See [examples/whatsapp_frequencies.clj](../examples/whatsapp_frequencies.clj)
### Find unused vars
@ -295,3 +295,15 @@ $ bb examples/hsqldb_unused_vars.clj src
| babashka.impl.nrepl-server | stop-server! | src/babashka/impl/nrepl_server.clj | 179 | 1 |
| babashka.main | -main | src/babashka/main.clj | 485 | 1 |
```
### List contents of jar file
For the code see [examples/ls_jar.clj](../examples/ls_jar.clj).
``` shell
$ ls_jar.clj borkdude/sci 0.0.13-alpha.24
META-INF/MANIFEST.MF
META-INF/maven/borkdude/sci/pom.xml
META-INF/leiningen/borkdude/sci/project.clj
...
```