feat: release Dever 0.1.4 with enforceable project guidance

This commit is contained in:
Antigravity committed 2026-10-09 05:33:57 +00:00
1 parent 201bdee372
commit 89629c2197
86 files changed
+2798 -338

No files matched your search

@@ -0,0 +1 @@
{}
@@ -0,0 +1 @@
external command "bin/tool" {}
@@ -0,0 +1 @@
cmd version = app.version
@@ -0,0 +1,14 @@
type Version {
code: Int
stdout: Text
stderr: Text
}
version() (version: Version) {
output = port.execute(["--version"], null)
version = Version {
code = output.code
stdout = dever.bytes.to_text(output.stdout)
stderr = dever.bytes.to_text(output.stderr)
}
}
@@ -0,0 +1 @@
execute(args: List<Text>, stdin: Bytes?) (output: dever.process.Output) fails dever.process.Error
@@ -0,0 +1,16 @@
version() () {
output = app.version()
assert_eq(output.code, 0)
assert_eq(output.stdout, "tool 1.0\n")
assert_eq(output.stderr, "")
}
port.execute(args: List<Text>, stdin: Bytes?) (output: dever.process.Output) {
assert_eq(args, ["--version"])
assert_eq(stdin, null)
output = dever.process.Output {
code = 0
stdout = dever.bytes.from_text("tool 1.0\n")
stderr = dever.bytes.from_text("")
}
}