Skip to content

Commit

Permalink
chore: docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
k13gomez committed Sep 3, 2024
1 parent 9766f2b commit 602ec7f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ lint:
clojure -M:dev:test:clj-kondo --copy-configs --dependencies --parallel --lint "$(shell clojure -A:dev:test -Spath)"
clojure -M:dev:test:clj-kondo --lint "src:test" --fail-level "error"

install-native-image:
gu install native-image

build-uberjar:
clojure -X:uberjar :sync-pom true

configure:
gu install native-image
build-config:
mkdir -p graalvm-config
java -agentlib:native-image-agent=config-output-dir=graalvm-config -jar build/tools-deps-helper.jar find-versions "org.clojure/clojure"

Expand All @@ -43,6 +45,8 @@ build-native:
"k13labs.tools.deps.main" \
"build/tools-deps-helper"

build: install-native-image build-uberjar build-config build-native

format-check:
clojure -M:format-check

Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

tools-deps-helper utility

# _Usage_

...

# _Building_

tools-deps-helper is built, tested, and deployed using [Clojure Tools Deps](https://clojure.org/guides/deps_and_cli).
Expand All @@ -17,7 +13,13 @@ GNU Make is used to simplify invocation of some commands.
Requires graalvm-22.3.1+java11 with native-image installed.

```bash
make clean build-uberjar build-config build-native
make build
```

# _Usage_

```bash
build/tools-deps-helper find-versions org.clojure/clojure
```

# _Communication_
Expand Down

0 comments on commit 602ec7f

Please sign in to comment.