Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein-convert #10

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/clojure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ jobs:
os: [ubuntu-latest]

container:
image: clojure:openjdk-${{ matrix.jdk_version }}-tools-deps
image: clojure:openjdk-${{ matrix.jdk_version }}-lein

steps:
- uses: actions/checkout@v4
- name: Version
run: clj --version
- name: Prepare Deps
run: clj -P
- name: Test, Write POM, Build
run: clj -T:build jar
- uses: actions/checkout@v2
- name: Info
run: lein version
- name: Package
run: |
lein deps
lein compile
lein uberjar
- name: Tests
run: lein test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.clj-kondo/
/.cpcache/
*.jar
/.lein-*
.lsp/
/.nrepl-port
pom.xml
Expand Down
105 changes: 0 additions & 105 deletions build.clj

This file was deleted.

21 changes: 2 additions & 19 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
{;; Dependencies
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
:deps {org.clojure/clojure {:mvn/version "1.11.2"}
org.clojure/core.async {:mvn/version "1.6.681"}}

;; File system paths
:paths ["src" "resources"]

;; clj cli aliases
:aliases
{;; See build.clj for details of the :build alias.
:build {:deps {io.github.clojure/tools.build {:mvn/version "0.9.6"}
slipset/deps-deploy {:mvn/version "0.2.2"}}
:ns-default build}

;; Run tests: clj -X:test
:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
io.github.cognitect-labs/test-runner {:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:exec-fn cognitect.test-runner.api/test}

;; Upgrade outdated deps: clj -M:outdated :upgrade true
:outdated {:deps {com.github.liquidz/antq {:mvn/version "RELEASE"}}
:main-opts ["-m" "antq.core"]}}}
:paths ["src"]}
17 changes: 17 additions & 0 deletions project.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
(defproject clj-contrib "0.1.0"

;;; Project Metadata
:description "A library of functions to enhance clojure.core."
:url "https://github.com/wdhowe/clj-contrib"
: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/"}

;;; Dependencies, Plugins
:dependencies [[org.clojure/clojure "1.11.2"]
[org.clojure/core.async "1.6.681"]]

;;; Profiles
:profiles {:uberjar {:aot :all}}

;;; Running Project Code
:repl-options {:init-ns clj-contrib.core})
Loading