mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00
Merge pull request #164 from IbrahimOuhamou/subhana-allah-db-exe
added option 'database_exe' to install the database exe thanks to Allah
This commit is contained in:
commit
a16e1c8716
@ -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