Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ indent_size = 2
indent_style = space
indent_size = 4

[justfile]
[*.just]
indent_style = space
indent_size = 4
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
.gitattributes text eol=lf
.editorconfig text eol=lf
.tool-versions text eol=lf
justfile text eol=lf
*.just text eol=lf
Makefile text eol=lf
Containerfile text eol=lf

Expand Down
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ toolbox enter jaffascript-dev
# Install dependencies manually

# Verify setup
just check # or: cargo check / mix compile / etc.
just jaffa check examples/hello.affine # type-check an example
just test # Run test suite
```

Expand Down
3 changes: 3 additions & 0 deletions .machine_readable/contractiles/Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ set positional-arguments := true
# Re-generate with: contractile gen-just
import? "contractile.just"

# JaffaScript task runner (check, run, build, preview, lint, hello): `just jaffa <recipe>`
mod? jaffa "jaffa.just"

# Project metadata — customize these
project := "rsr-template-repo"
OWNER := "hyperpolymath"
Expand Down
2 changes: 1 addition & 1 deletion EXPLAINME.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Key principle: *Different faces, same cube.*
|`examples/` |JaffaScript examples showing face-specific syntax
|`docs/` |JaffaScript-focused documentation
|`tests/` |Face transformer regression tests
|`justfile` |Common tasks: `check`, `run`, `build`, `preview`, `lint`
|`jaffa.just` |Common tasks, run as `just jaffa <task>`: `check`, `run`, `build`, `preview`, `lint`, `hello`
|`.github/` |GitHub workflows and issue templates
|===

Expand Down
3 changes: 3 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ set positional-arguments := true
# Re-generate with: contractile gen-just
import? "contractile.just"

# JaffaScript task runner (check, run, build, preview, lint, hello): `just jaffa <recipe>`
mod? jaffa "jaffa.just"

# Project metadata — customize these
project := "rsr-template-repo"
OWNER := "hyperpolymath"
Expand Down
6 changes: 3 additions & 3 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ affinescript compile --face jaffa examples/hello.affine -o hello.wasm
./bin/jaffa eval examples/hello.affine
./bin/jaffa compile examples/hello.affine -o hello.wasm

# Or via the justfile:
just run examples/hello.affine
just preview examples/hello.affine # show the canonical lowering
# Or via the `jaffa` just module (jaffa.just):
just jaffa run examples/hello.affine
just jaffa preview examples/hello.affine # show the canonical lowering
----

Source files use the canonical `+.affine+` extension. The face is
Expand Down
4 changes: 2 additions & 2 deletions justfile → jaffa.just
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: MPL-2.0
# SPDX-FileCopyrightText: 2024-2026 Jonathan D.A. Jewell (hyperpolymath)
# justfile — JaffaScript task runner
# jaffa.just — JaffaScript task runner, a module of the root Justfile: `just jaffa <recipe>`

default:
@just --list
@just --list jaffa

# Type-check a file
check FILE:
Expand Down
Loading