Cleaning up more test failures

This commit is contained in:
josh committed 2022-01-26 19:30:47 -05:00
1 parent d255c7f46e
commit 9d14cc7eb0
5 files changed
+32 -17

No files matched your search

+9 -3
View File
@@ -1,9 +1,13 @@
project_name "install_test"
default do
Environment.new do |env|
env["CPPPATH"] += glob("src/**")
Environment.new do |env|
env["CPPPATH"] += glob("src/**")
task "build" do
env.Program("^/program.exe", glob("src/**/*.c"))
end
task "install", deps: "build" do
env.InstallDirectory("${prefix}/bin")
env.Install("${prefix}/bin", "^/program.exe")
env.InstallDirectory("${prefix}/share")
@@ -12,3 +16,5 @@ default do
env.Install("${prefix}/src", "src")
end
end
default(deps: "build")