Skip to content

Commit

Permalink
Remove CLI functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
totakke authored and alumi committed May 23, 2024
1 parent 68ad9a3 commit 7752e35
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 624 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- name: Run tests
run: |
lein with-profile +dev:+1.8:+1.9 test
lein with-profile dev bin
target/cljam version
deploy:
needs: [build]
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ If you are Clojure beginner, read [Getting Started for Clojure Beginners](https:

cljam provides a command-line tool to use the features easily.

**NOTICE**
The command-line tool functionality will be removed from cljam on the next
release. The functionality has been already integrated into
[Gnife](https://github.com/chrovis/gnife), which is a pure command-line tool.

### Executable installation

`lein bin` creates standalone console executable into `target` directory.
Expand Down
19 changes: 0 additions & 19 deletions bin-resources/log4j2.xml

This file was deleted.

20 changes: 3 additions & 17 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/core.memoize "1.1.266"]
[org.clojure/tools.logging "1.3.0"]
[org.clojure/tools.cli "1.1.230"]
[org.apache.commons/commons-compress "1.26.1"]
[clj-sub-command "0.6.0"]
[digest "1.4.10"]
[bgzf4j "0.1.2"]
[com.climate/claypoole "1.1.4"]
Expand All @@ -18,8 +16,7 @@
[criterium "0.4.6"]
[net.totakke/libra "0.1.1"]
[se.haleby/stub-http "0.2.14"]]
:plugins [[lein-binplus "0.6.8" :exclusions [org.clojure/clojure]]
[lein-codox "0.10.8"]
:plugins [[lein-codox "0.10.8"]
[lein-marginalia "0.9.2" :exclusions [org.clojure/clojure]]
[lein-cloverage "1.2.4"]
[net.totakke/lein-libra "0.1.2"]
Expand All @@ -28,28 +25,17 @@
:slow :slow ; Slow tests with local resources
:remote :remote ; Tests with remote resources
:all (constantly true)}
:main ^:skip-aot cljam.tools.main
:global-vars {*warn-on-reflection* true
*unchecked-math* :warn-on-boxed}}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
:1.10 {:dependencies [[org.clojure/clojure "1.10.3"]]}
:uberjar {:dependencies [[org.clojure/clojure "1.11.3"]
[org.apache.logging.log4j/log4j-api "2.23.1"]
[org.apache.logging.log4j/log4j-core "2.23.1"]]
:resource-paths ["bin-resources"]
:main cljam.tools.main
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]
:aot :all}}
:1.10 {:dependencies [[org.clojure/clojure "1.10.3"]]}}
:deploy-repositories [["snapshots" {:url "https://clojars.org/repo/"
:username [:env/clojars_username :gpg]
:password [:env/clojars_password :gpg]}]]
:aliases {"docs" ["do" "codox" ["marg" "-d" "target/literate" "-m"]]}
:bin {:name "cljam"
:bootclasspath true}
:codox {:namespaces [#"^cljam\.(?!tools)[\w\-]+(\.[\w\-]+)?$"]
:output-path "target/docs"
:codox {:output-path "target/docs"
:source-uri "https://github.com/chrovis/cljam/blob/{version}/{filepath}#L{line}"}
:repl-options {:init-ns user}
:signing {:gpg-key "[email protected]"})
Loading

0 comments on commit 7752e35

Please sign in to comment.