<<
path:
root/public/jinit.git/html/templates/minimal/template.jai
blob: afdd2ec1b3c11d81c0c2884239b1055f2078126e
[raw]
[clear marker]
6 w := compiler_create_workspace();
9 print("Workspace creation failed.\n");
13 print("The workspace w is %\n", w);
14 make_directory_if_it_does_not_exist("bin");
16 target_options := get_build_options(w);
17 target_options.output_executable_name = "program";
18 target_options.output_path = "bin";
20 //import_path: [..] string;
21 //array_add(*import_path, ..target_options.import_path);
22 //array_add(*import_path, "custom_module_path");
23 //target_options.import_path = import_path;
25 set_build_options_dc(.{do_output = false});
26 set_build_options(target_options, w);
27 add_build_file(tprint("%src/main.jai", #filepath), w);