Skip to content

Commit

Permalink
feat: Add jujutsu package (#76)
Browse files Browse the repository at this point in the history
Signed-off-by: jaudiger <[email protected]>
  • Loading branch information
jaudiger authored Jul 23, 2024
1 parent f5578a7 commit 37ccc8f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/jujutsu/brioche.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions packages/jujutsu/project.bri
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import * as std from "std";
import openssl from "openssl";
import { cargoBuild } from "rust";

export const project = {
name: "jujutsu",
version: "0.19.0",
};

const source = std
.download({
url: `https://github.com/martinvonz/jj/archive/refs/tags/v${project.version}.tar.gz`,
hash: std.sha256Hash(
"d0b9db21894e65ec80fd7999f99023f1e65d15fa16b4ec76881247d9cd56dc55",
),
})
.unarchive("tar", "gzip")
.peel();

export default () => {
return cargoBuild({
source,
runnable: "bin/jj",
path: "cli",
dependencies: [openssl()],
});
};

0 comments on commit 37ccc8f

Please sign in to comment.