Skip to content

Commit

Permalink
Add GitUI package (brioche-dev#69)
Browse files Browse the repository at this point in the history
* feat: add gitui package

Signed-off-by: jaudiger <[email protected]>

* Update gitui build based on `cargoBuild()` changes

* Fix gitui build by adding git as a dependency

* Update gitui to use `git.gitCheckout()`

* Set env var for gitui release build

---------

Signed-off-by: jaudiger <[email protected]>
Co-authored-by: jaudiger <[email protected]>
  • Loading branch information
kylewlacy and jaudiger authored Jul 15, 2024
1 parent 27631d3 commit a85d46c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gitui/brioche.lock

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

23 changes: 23 additions & 0 deletions packages/gitui/project.bri
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import git, { gitCheckout } from "git";
import { cargoBuild } from "rust";

export const project = {
name: "gitui",
version: "0.26.3",
};

const source = gitCheckout({
repository: "https://github.com/extrawurst/gitui.git",
commit: "95e1d4d4324bf1eab34f8100afc7f3ae7e435252",
});

export default () => {
return cargoBuild({
source,
dependencies: [git()],
env: {
GITUI_RELEASE: "1",
},
runnable: "bin/gitui",
});
};

0 comments on commit a85d46c

Please sign in to comment.