614ec063f0
docs: mention _cgfs/opts.json in README
2024-07-10 00:11:18 +02:00
bfee9382bd
chore: bump version
2024-07-10 00:04:25 +02:00
dbc84f2c99
fix: correctly handle & display post-processor errors
2024-07-10 00:03:50 +02:00
488a64809d
chore: refactor format serialization API
...
The inconsistently named `cg.toJSON` has been renamed to
`cg.fmt.json.serialize`. The code has also been restructured to fit more
formats in the future.
2024-07-09 23:22:12 +02:00
5a88ad31cf
feat: add --watch argument
2024-07-02 12:20:46 +02:00
190dfa2695
feat: return detailed lua errors from some API functions rather than logging
2024-06-22 13:21:04 +02:00
d2d1b47b51
fix: confgenfs source file
2024-06-21 23:30:44 +02:00
624485b360
feat: add fileIter function
...
also fixes a missing null check bug
2024-06-18 15:51:34 +02:00
f7abe9ee0a
chore: update to zig 0.13
2024-06-18 14:09:21 +02:00
10ff95f6dd
chore: add nix output to gitignore
2024-06-17 21:46:58 +02:00
72b0725b59
chore: bump version
2024-05-27 11:33:20 +02:00
332069af73
ci: push nix flake to attic
2024-05-22 21:28:08 +02:00
5b3f33518a
docs: add info about installation to README
2024-05-22 20:23:01 +02:00
51ee2de92a
chore(nix): update flake lock
2024-05-22 17:39:33 +02:00
1f076bd833
chore: update docs & completions with new eval parameter
2024-05-19 23:24:15 +02:00
b7d5c3eb58
Merge pull request 'feat: add user code evaluation' ( #2 ) from coding-agent/confgen:master into master
...
Reviewed-on: LordMZTE/confgen#2
2024-05-19 23:06:50 +02:00
fd9d21256b
chore: edit help message
2024-05-19 22:06:00 +01:00
c2ad954274
ci: run tests on PRs
2024-05-19 23:01:27 +02:00
3232446976
feat: add user code evaluation
2024-05-19 21:55:39 +01:00
b6cfa50892
ci: always build release on x64
2024-05-10 20:35:39 +02:00
05e4b24c23
chore: delete old woodpecker CI config
2024-05-10 18:17:17 +02:00
6b7294f08d
ci: supply token to release step
2024-05-10 18:14:45 +02:00
a2da1d1a96
ci: fix dependencies
2024-05-10 17:53:08 +02:00
24f6835679
ci: fix release action trigger
2024-05-10 17:35:30 +02:00
2b8606babc
ci: rename build -> test
2024-05-10 17:25:31 +02:00
22af5c7841
ci: forgejo actions attempt 5
2024-05-10 17:11:07 +02:00
cad7ec7e8c
ci: forgejo actions attempt 4
2024-05-10 17:02:37 +02:00
59f895bbed
ci: forgejo actions attempt 3
2024-05-10 16:52:07 +02:00
def095324e
ci: forgejo actions attempt 2
2024-05-10 16:45:32 +02:00
9dcb33fda8
ci: switch to forgejo actions attempt 1
2024-05-10 16:43:39 +02:00
50a6282c4e
chore: bump version
2024-05-10 16:15:20 +02:00
dca2891126
fix: buffer overflow in confgenfs
2024-05-10 16:14:49 +02:00
67182b785d
feat: implement tmpl:setAssumeDeterministic
2024-05-08 20:22:00 +02:00
f5c0a49b89
ci: use 0.12.0 Zig image
2024-04-29 12:06:30 +02:00
010adc309e
feat: add single-file mode
2024-04-29 11:22:59 +02:00
955394ea42
fix: correctly install shell completions
2024-04-27 20:32:16 +02:00
e196187093
chore: formally switch to Zig 0.12
2024-04-27 20:27:22 +02:00
dd3cb756ec
fix: create output directory
2024-04-26 21:30:53 +02:00
6e2f207e21
feat: add shell completions
2024-04-25 12:43:05 +02:00
31c1c6262a
fix: correct man install path
2024-04-25 10:59:41 +02:00
b5d681af54
fix: set working directory to project root
2024-04-22 16:06:04 +02:00
9b4756ee80
feat: separate template code from tmpl object
...
This allows passing tmpl around between templates without corruption
occuring, allowing for "library" templates.
2024-04-16 20:50:50 +02:00
90655edbc5
feat: add doTemplateFile function
2024-04-16 18:59:25 +02:00
de788d5c9a
feat: add copy argument to addString
2024-04-16 18:16:20 +02:00
a26b3a9ee5
docs: opt parameter to doTemplate
2024-04-16 17:28:03 +02:00
544c9dc173
fix: global delegation in doTemplate
2024-04-16 17:21:17 +02:00
acfad0dc6f
fix: template use-after-free
...
A use-after-free could previously be invoked by leaking the `tmpl`
object outside it's corresponding template, this is no longer possible.
2024-04-16 16:19:54 +02:00
2af881f53b
feat: add custom print function to lua environment
2024-04-13 14:54:24 +02:00
0d20368255
feat: confgenfs now has _cgfs/opts.json
2024-03-25 11:39:25 +01:00
dcf4d20f8e
chore: update Zig
2024-03-25 11:22:48 +01:00