Skip to content

Commit 3a31615

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

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/flakebox-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ jobs:
1111
- name: Magic Nix Cache
1212
uses: DeterminateSystems/magic-nix-cache-action@v2
1313
- name: Build on ${{ matrix.host }}
14-
run: nix build -L .#ci.mindmap
14+
run: nix build -L .#ci.${{ matrix.binary }}
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)