mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00
added option 'database_exe' thanks to Allah
This commit is contained in:
parent
5ebb60d759
commit
1dfe58fb64
@ -394,6 +394,9 @@ pub fn jetzigInit(b: *std.Build, exe: *std.Build.Step.Compile, options: JetzigIn
|
||||
|
||||
registerDatabaseSteps(b, exe_database);
|
||||
|
||||
const option_db_exe = b.option(bool, "database_exe", "option to install 'database' executable default is false") orelse false;
|
||||
if(option_db_exe) b.installArtifact(exe_database);
|
||||
|
||||
exe_routes.root_module.addImport("jetzig", jetzig_module);
|
||||
exe_routes.root_module.addImport("routes", routes_module);
|
||||
exe_routes.root_module.addImport("app", exe.root_module);
|
||||
|
Loading…
x
Reference in New Issue
Block a user