From c6401e5397807622bac4860b84fb31003fcd5d31 Mon Sep 17 00:00:00 2001 From: eltrac Date: Sun, 20 Sep 2026 19:25:09 +0800 Subject: project: publish 0.0.1 to Clojars --- README.md | 7 ++++-- pom.xml | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ project.clj | 11 +++++++-- 3 files changed, 94 insertions(+), 4 deletions(-) create mode 100644 pom.xml diff --git a/README.md b/README.md index 7d6a5c5..b85d12c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # mf2clj +[![Clojars Project](https://img.shields.io/clojars/v/org.clojars.eltrac/mf2clj.svg)](https://clojars.org/org.clojars.eltrac/mf2clj) + A Clojure library that parses [microformats](http://microformats.org/). Under the hood, it's a thin wrapper of a [Extism](https://extism.org/) plugin written in Go (source of which is also in this repository), and the plugin itself is a wrapper of Will Norris' [microformats parser](https://github.com/willnorris/microformats). *Yes, that's a lot of wrappers! I have a good excuse for that.* --- @@ -76,8 +78,9 @@ I suppose I could use [Rust](https://crates.io/crates/microformats/0.2.0), but i ## Usage -> [!note] -> *I'm still working on publishing to Clojars.* +``` +[org.clojars.eltrac/mf2clj "0.0.1"] +``` ```clojure (require '[mf2clj.core :as mf2clj]) diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..a76a88e --- /dev/null +++ b/pom.xml @@ -0,0 +1,80 @@ + + + 4.0.0 + org.clojars.eltrac + mf2clj + jar + 0.0.1 + mf2clj + A Clojure wrapper of Will Norris' microformats parser in Go, which runs WebAssembly under the hood. + https://codeberg.org/eltrac/mf2clj + + + GNU Affero General Public License + https://www.gnu.org/licenses/agpl-3.0.html + repo + + + + 6dfdbec6b044b7462456622850b22b39051fbe91 + + + src + test + + + resources + + + + + resources + + + target + target/classes + + + + + central + https://repo1.maven.org/maven2/ + + false + + + true + + + + clojars + https://repo.clojars.org/ + + true + + + true + + + + + + + + + org.clojure + clojure + 1.12.4 + + + org.extism.sdk + chicory-sdk-core + 0.3.0 + + + + + diff --git a/project.clj b/project.clj index e1ea578..2f7222c 100644 --- a/project.clj +++ b/project.clj @@ -1,9 +1,16 @@ -(defproject mf2clj "0.0.1" +(defproject org.clojars.eltrac/mf2clj "0.0.1" :description "A Clojure wrapper of Will Norris' microformats parser in Go, which runs WebAssembly under the hood." - :url "https://src.eltr.ac/eltrac/mf2clj" + :url "https://codeberg.org/eltrac/mf2clj" :min-lein-version "2.0.0" :dependencies [[org.clojure/clojure "1.12.4"] [org.extism.sdk/chicory-sdk-core "0.3.0"]] + :deploy-repositories [["clojars" {:url "https://repo.clojars.org" + :sign-releases false}] + ;; personally I prefer better crypto tools + ;; other than GPG, but Clojars only use GPG + ;; so I will have to postpone signing releases + ["releases" :clojars] + ["snapshots" :clojars]] :profiles {:uberjar {:aot :all}} :license {:name "GNU Affero General Public License" :url "https://www.gnu.org/licenses/agpl-3.0.html" -- cgit v1.2.3