feat: publish Dever core with project scaffolding and versioned AI skills
This commit is contained in:
1 parent
70fa73cdc2
commit
ac458ffa7f
960 files changed
+221319
-1163
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
extern int command_value(void);
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
const unsigned char expected[] = {0, 255, 128, 10};
|
||||
unsigned char input[sizeof(expected)];
|
||||
if (argc != 3 || strcmp(argv[1], "a b") != 0 ||
|
||||
strcmp(argv[2], "$(literal);*") != 0 || command_value() != 42)
|
||||
return 90;
|
||||
if (fread(input, 1, sizeof(input), stdin) != sizeof(input) ||
|
||||
memcmp(input, expected, sizeof(input)) != 0 || getchar() != EOF)
|
||||
return 91;
|
||||
if (fwrite(input, 1, sizeof(input), stdout) != sizeof(input) ||
|
||||
fputs("ordinary command", stderr) == EOF)
|
||||
return 92;
|
||||
return 23;
|
||||
}
|
||||
Reference in new issue
Block a user