https://github.com/hellonico/build-tools
https://github.com/hellonico/build-tools
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/hellonico/build-tools
- Owner: hellonico
- Created: 2025-01-14T07:52:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-29T01:21:14.000Z (about 1 year ago)
- Last Synced: 2025-03-10T04:45:02.769Z (about 1 year ago)
- Language: Clojure
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Reusable clj uberjar and jpackage code.
>
```clojure
; in deps.edn
:aliases {
...
:build-tools
{:deps
{build-tools/build-tools
{:git/url "https://github.com/hellonico/build-tools.git"
:sha "1c180d133ac592bb1fc2eb7241494da5d84b314d"}
;{:local/root "../../build-tools"}
}
;:exec-fn build-tools.core/build-all
:exec-args {:app-name "Collagen" :mainns ppt-collate :compile [ppt-collate]}}}
```
And then, to create uber jar file:
```bash
clj -X:build-tools build-tools.core/uberize
```
Or jpackage:
```bash
clj -X:build-tools build-tools.core/jpackage
```