diff options
| author | eltrac <hi@eltr.ac> | 2026-09-20 19:25:09 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-09-20 19:28:01 +0800 |
| commit | c6401e5397807622bac4860b84fb31003fcd5d31 (patch) | |
| tree | 65a5933215f92e8d9c867d0b7c1b522c5340fad9 | |
| parent | 6dfdbec6b044b7462456622850b22b39051fbe91 (diff) | |
project: publish 0.0.1 to Clojars
| -rw-r--r-- | README.md | 7 | ||||
| -rw-r--r-- | pom.xml | 80 | ||||
| -rw-r--r-- | project.clj | 11 |
3 files changed, 94 insertions, 4 deletions
@@ -1,5 +1,7 @@ # mf2clj
+[](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])
@@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>org.clojars.eltrac</groupId> + <artifactId>mf2clj</artifactId> + <packaging>jar</packaging> + <version>0.0.1</version> + <name>mf2clj</name> + <description>A Clojure wrapper of Will Norris' microformats parser in Go, which runs WebAssembly under the hood.</description> + <url>https://codeberg.org/eltrac/mf2clj</url> + <licenses> + <license> + <name>GNU Affero General Public License</name> + <url>https://www.gnu.org/licenses/agpl-3.0.html</url> + <distribution>repo</distribution> + </license> + </licenses> + <scm> + <tag>6dfdbec6b044b7462456622850b22b39051fbe91</tag> + </scm> + <build> + <sourceDirectory>src</sourceDirectory> + <testSourceDirectory>test</testSourceDirectory> + <resources> + <resource> + <directory>resources</directory> + </resource> + </resources> + <testResources> + <testResource> + <directory>resources</directory> + </testResource> + </testResources> + <directory>target</directory> + <outputDirectory>target/classes</outputDirectory> + <plugins/> + </build> + <repositories> + <repository> + <id>central</id> + <url>https://repo1.maven.org/maven2/</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + <repository> + <id>clojars</id> + <url>https://repo.clojars.org/</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + </repositories> + <dependencyManagement> + <dependencies/> + </dependencyManagement> + <dependencies> + <dependency> + <groupId>org.clojure</groupId> + <artifactId>clojure</artifactId> + <version>1.12.4</version> + </dependency> + <dependency> + <groupId>org.extism.sdk</groupId> + <artifactId>chicory-sdk-core</artifactId> + <version>0.3.0</version> + </dependency> + </dependencies> +</project> + +<!-- This file was autogenerated by Leiningen. + Please do not edit it directly; instead edit project.clj and regenerate it. + It should not be considered canonical data. For more information see + https://codeberg.org/leiningen/leiningen --> 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"
|
