Skip to content

Commit 154614b

Browse files
committed
build: use just
Default testbed example
1 parent 84f108d commit 154614b

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ result-*
88
.direnv
99

1010
# Logs
11-
/*.log
11+
**/*.log

examples/testbed/main.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
function loom.tick() end
2+
3+
function loom.frame(dt) end

flake.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
devShell = pkgs.mkShell {
2424
nativeBuildInputs = with pkgs; [
25+
just
26+
2527
alejandra
2628
rust-analyzer
2729
(pkgs.fenix.stable.withComponents [

justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
run target="testbed":
2+
cd ./examples/{{target}} && cargo run

0 commit comments

Comments
 (0)