Skip to content

Commit

Permalink
Add jwt_cli package (brioche-dev#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy authored Jul 12, 2024
1 parent ee16180 commit 3dc9f0a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/jwt_cli/brioche.lock

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

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

export const project = {
name: "jwt_cli",
version: "6.1.0",
};

const crate = std
.download({
url: `https://github.com/mike-engel/jwt-cli/archive/refs/tags/${project.version}.tar.gz`,
hash: std.sha256Hash(
"9bc2232f052f0fcc3171d95a301911b29b8dff12fcb7ea80718c0ef1c993f9b9",
),
})
.unarchive("tar", "gzip")
.peel();

export default function () {
return cargoBuild({
crate,
runnable: "bin/jwt",
});
}

0 comments on commit 3dc9f0a

Please sign in to comment.