Add jpkg packaging
ober
16f1af1204dbcb3c526d293c62b90b281293b9fe
--- a/.build.yml +++ b/.build.yml @@ -10,10 +10,22 @@ packages: sources: - https://git.sr.ht/~lisp/jerboa - https://git.sr.ht/~lisp/jerboa-shell +artifacts: + - jerboa-shell/jerboa-shell-0.2.0.jpkg tasks: - build-jerboa-tools: | cd jerboa make jerboa + echo 'export PATH="$HOME/jerboa/dist:$PATH"' >> ~/.buildenv - test-shell: | cd jerboa-shell JERBUILD=$HOME/jerboa/dist/jerbuild make test + - package: | + cd jerboa-shell + J="$HOME/jerboa/dist/jerboa" + "$J" pkg verify + "$J" pkg policy + "$J" pkg build + "$J" pkg pack --output "$PWD/jerboa-shell-0.2.0.jpkg" + "$J" pkg verify "$PWD/jerboa-shell-0.2.0.jpkg" + "$J" pkg verify --reproduce new file mode 100644 --- /dev/null +++ b/jpkg.sexp @@ -0,0 +1,11 @@ +(package + (name "@lisp/jerboa-shell") + (version "0.2.0") + (description "Jerboa shell (jsh)") + (license "MIT") + (source "https://git.sr.ht/~lisp/jerboa-shell") + (jerboa ">=0.2.0") + (modules ((root "."))) + (dependencies ()) + (dev-dependencies ()) + (capabilities ()))