Skip to content

Commit 19f8b36

Browse files
committed
feat: expose the todo binary to package outputs
1 parent f846786 commit 19f8b36

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/flakebox-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
run: nix build -L .#ci.mindmap
1515
strategy:
1616
matrix:
17+
binary:
18+
- mindmap
19+
- todo
1720
host:
1821
- macos-x86_64
1922
- macos-aarch64

flake.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
});
4444
in
4545
{
46-
${projectName} = craneLib.buildPackage { };
46+
mindmap = craneLib.buildPackage { meta.mainProgram = "mindmap"; };
47+
todo = craneLib.buildPackage { meta.mainProgram = "todo"; };
4748
});
4849
in
4950
{

0 commit comments

Comments
 (0)