diff options
Diffstat (limited to 'tests/projects')
22 files changed, 44 insertions, 110 deletions
diff --git a/tests/projects/c++/console/test.lua b/tests/projects/c++/console/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c++/console/test.lua +++ b/tests/projects/c++/console/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c++/precompiled_header/test.lua b/tests/projects/c++/precompiled_header/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c++/precompiled_header/test.lua +++ b/tests/projects/c++/precompiled_header/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c++/shared_library/test.lua b/tests/projects/c++/shared_library/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c++/shared_library/test.lua +++ b/tests/projects/c++/shared_library/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c++/static_library/test.lua b/tests/projects/c++/static_library/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c++/static_library/test.lua +++ b/tests/projects/c++/static_library/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c/console/test.lua b/tests/projects/c/console/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c/console/test.lua +++ b/tests/projects/c/console/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c/precompiled_header/test.lua b/tests/projects/c/precompiled_header/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c/precompiled_header/test.lua +++ b/tests/projects/c/precompiled_header/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c/shared_library/test.lua b/tests/projects/c/shared_library/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c/shared_library/test.lua +++ b/tests/projects/c/shared_library/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c/static library with spaces/test.lua b/tests/projects/c/static library with spaces/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c/static library with spaces/test.lua +++ b/tests/projects/c/static library with spaces/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/c/static_library/test.lua b/tests/projects/c/static_library/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/c/static_library/test.lua +++ b/tests/projects/c/static_library/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/dlang/console/test.lua b/tests/projects/dlang/console/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/dlang/console/test.lua +++ b/tests/projects/dlang/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/dlang/shared_library/test.lua b/tests/projects/dlang/shared_library/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/dlang/shared_library/test.lua +++ b/tests/projects/dlang/shared_library/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/dlang/static_library/test.lua b/tests/projects/dlang/static_library/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/dlang/static_library/test.lua +++ b/tests/projects/dlang/static_library/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/go/console/test.lua b/tests/projects/go/console/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/go/console/test.lua +++ b/tests/projects/go/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/go/static_library/test.lua b/tests/projects/go/static_library/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/go/static_library/test.lua +++ b/tests/projects/go/static_library/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/objc++/console/test.lua b/tests/projects/objc++/console/test.lua index 08bb16360..f73079781 100644 --- a/tests/projects/objc++/console/test.lua +++ b/tests/projects/objc++/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build({iphoneos = true}) + t:build({iphoneos = true}) end end diff --git a/tests/projects/objc/console/test.lua b/tests/projects/objc/console/test.lua index 08bb16360..f73079781 100644 --- a/tests/projects/objc/console/test.lua +++ b/tests/projects/objc/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build({iphoneos = true}) + t:build({iphoneos = true}) end end diff --git a/tests/projects/other/merge_object/test.lua b/tests/projects/other/merge_object/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/other/merge_object/test.lua +++ b/tests/projects/other/merge_object/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/other/merge_static_library/test.lua b/tests/projects/other/merge_static_library/test.lua index 84f48ef1c..b76241be2 100644 --- a/tests/projects/other/merge_static_library/test.lua +++ b/tests/projects/other/merge_static_library/test.lua @@ -1,9 +1,6 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project - build() + t:build() end diff --git a/tests/projects/package/basic/test.lua b/tests/projects/package/basic/test.lua index 2db93991f..a4b905689 100644 --- a/tests/projects/package/basic/test.lua +++ b/tests/projects/package/basic/test.lua @@ -1,10 +1,7 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- TODO -- build project --- build() +-- t:build() end diff --git a/tests/projects/rust/console/test.lua b/tests/projects/rust/console/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/rust/console/test.lua +++ b/tests/projects/rust/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/rust/static_library/test.lua b/tests/projects/rust/static_library/test.lua index ba71889a5..b423189da 100644 --- a/tests/projects/rust/static_library/test.lua +++ b/tests/projects/rust/static_library/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build() + t:build() end end diff --git a/tests/projects/swift/console/test.lua b/tests/projects/swift/console/test.lua index 08bb16360..f73079781 100644 --- a/tests/projects/swift/console/test.lua +++ b/tests/projects/swift/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build({iphoneos = true}) + t:build({iphoneos = true}) end end |
