Skip to content

Commit

Permalink
Clean up lein-jank a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jeaye committed May 10, 2024
1 parent e166dc7 commit b1e376e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 330 deletions.
24 changes: 0 additions & 24 deletions lein-jank/CHANGELOG.md

This file was deleted.

280 changes: 0 additions & 280 deletions lein-jank/LICENSE

This file was deleted.

12 changes: 0 additions & 12 deletions lein-jank/docs/scratch.norg

This file was deleted.

6 changes: 3 additions & 3 deletions lein-jank/project.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(defproject lein-jank "0.0.1-SNAPSHOT"
:description "Build your jank projects using leiningen"
:description "Build your jank projects using leiningen."
:url "https://jank-lang.org/"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:license {:name "MPL 2.0"
:url "https://www.mozilla.org/en-US/MPL/2.0/"}
:dependencies [[babashka/fs "0.4.9"]
[babashka/process "0.5.21"]
[leiningen-core "2.10.0"]]
Expand Down
22 changes: 11 additions & 11 deletions lein-jank/src/leiningen/jank.clj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
(ns leiningen.jank
(:require
[babashka.process :as ps]
[babashka.fs :as fs]
[clojure.pprint :as pp]
[clojure.string :as string]
[leiningen.core.classpath :as lcp]
[leiningen.core.main :as lmain])
[babashka.process :as ps]
[babashka.fs :as fs]
[clojure.pprint :as pp]
[clojure.string :as string]
[leiningen.core.classpath :as lcp]
[leiningen.core.main :as lmain])
(:import [java.io File]))

(defn- ->absolute-path [path]
Expand Down Expand Up @@ -81,11 +81,11 @@
"Prints help about jank subcommands"
[& _args]
(pp/print-table
(map (fn [[sub fn-ref]]
{:sub-command (name sub)
:help (or (-> fn-ref meta :help-text)
(-> fn-ref meta :doc))})
subtasks)))
(map (fn [[sub fn-ref]]
{:sub-command (name sub)
:help (or (-> fn-ref meta :help-text)
(-> fn-ref meta :doc))})
subtasks)))

(defn jank
"Compile, run and repl into jank"
Expand Down

0 comments on commit b1e376e

Please sign in to comment.