Update build script
This commit is contained in:
		
							parent
							
								
									5a913ef0f8
								
							
						
					
					
						commit
						14397b05e3
					
				
							
								
								
									
										11
									
								
								build.zig
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								build.zig
									
									
									
									
									
								
							| @ -12,7 +12,6 @@ pub fn build(builder: *std.build.Builder) void { | ||||
|     { | ||||
|         const exe = builder.addExecutable("ona", "./src/ona/main.zig"); | ||||
| 
 | ||||
|         exe.addPackage(projectPkg("oar", &.{core_pkg})); | ||||
|         exe.addPackage(core_pkg); | ||||
|         exe.setTarget(target); | ||||
|         exe.setBuildMode(mode); | ||||
| @ -22,16 +21,6 @@ pub fn build(builder: *std.build.Builder) void { | ||||
|         exe.linkLibC(); | ||||
|     } | ||||
| 
 | ||||
|     // Oar executable. | ||||
|     { | ||||
|         const exe = builder.addExecutable("oar", "./src/oar/main.zig"); | ||||
| 
 | ||||
|         exe.addPackage(core_pkg); | ||||
|         exe.setTarget(target); | ||||
|         exe.setBuildMode(mode); | ||||
|         exe.install(); | ||||
|     } | ||||
| 
 | ||||
|     // Tests executable. | ||||
|     { | ||||
|         const tests = builder.addTestExe("test", "./src/tests.zig"); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user