Logo

index : jinit

---

  • summary
  • about
  • tree
  • log
  • branches
<< path: root/public/jinit.git/html/templates/with_args/rules_with_args.jai blob: b527a56cb9f077a1daf3ad3bcc9c10664b8c7bba [raw] [clear marker]

        
0() -> Rules {
1 gitignore :: #string STR_END
2# Jai
3.build
4/bin
5 STR_END;
6
7 main_jai :: #string STR_END
8#import "Basic"()(
9 MEMORY_DEBUGGER = MEMORY_DEBUGGER_ENABLED
10);
11
12
13main :: () {
14 #if MEMORY_DEBUGGER_ENABLED defer report_memory_leaks();
15
16 log("Hello, Sailor!");
17}
18
19 STR_END;
20
21 return .{
22 arg_name = "arg",
23 description = "Supports build arguments",
24 template = "templates/with_args/template.jai",
25 dirs_in_workplace = .[ "src", ],
26 files = .[
27 .{ ".gitignore", gitignore },
28 .{ "src/main.jai", main_jai },
29 .{ "README.md", "" },
30 ],
31 };
32}();
33
Copyright 2026  E766CB298A6D1E64 | Git-Thing heavily inspired by cgit