Liking cljdoc? Tell your friends :D

pod-jackdbd-jsoup

CI/CD Clojars Project

Babashka pod for parsing HTML with jsoup.

How to use it?

See examples/jsoup.bb.

Development

The developer environment for this project is declared using devenv.

This project is managed with neil and Babashka tasks. You can use bb tasks to view all available tasks.

Linux binary

If you are on Linux, you can compile a statically-linked binary using bb build:binary. Double check that the binary is statically linked.

ldd target/pod-jackdbd-jsoup
objdump --dynamic-syms target/pod-jackdbd

Upgrade version

Use neil to update the version in deps.edn. Here are a few examples:

neil version set 0.1.0
neil version patch
neil version minor

A few things to keep in mind about neil version:

  • it creates a Git commit and tag (this can be bypassed with --no-tag)
  • it requires the working directory to be clean (this can be bypassed with --force)

At the moment neil version creates a git commit but fails to create a git tag. You can use the following commands instead.

bb bump:patch
bb tag

These commands bump the patch version and create an annotated tag.

Create manifest.edn

bb bb/manifest.bb \
  --license MIT \
  --pod-id "com.github.jackdbd/pod.jackdbd.jsoup" \
  --version 0.1.2 \
  --uberjar "https://github.com/jackdbd/pod-jackdbd-jsoup/releases/download/v0.1.2/pod-jackdbd-jsoup-0.1.2-ubuntu-latest-x86_64.zip" \
  --linux-x86_64 "https://github.com/jackdbd/pod-jackdbd-jsoup/releases/download/v0.1.2/pod-jackdbd-jsoup-0.1.2-ubuntu-latest-x86_64.zip" \
  --macos-aarch64 "https://github.com/jackdbd/pod-jackdbd-jsoup/releases/download/v0.1.2/pod-jackdbd-jsoup-0.1.2-macos-latest-aarch64.zip" \
  --windows-x86_64 "https://github.com/jackdbd/pod-jackdbd-jsoup/releases/download/v0.1.2/pod-jackdbd-jsoup-0.1.2-windows-latest-x86_64.zip"

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close