package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
636 B
17 lines
636 B
package("portable_build_tools") |
|
set_kind("toolchain") |
|
set_homepage("https://github.com/Data-Oriented-House/PortableBuildTools") |
|
set_description("Portable VS Build Tools installer") |
|
|
|
add_urls("https://github.com/Data-Oriented-House/PortableBuildTools/releases/download/$(version)/PortableBuildTools.exe") |
|
|
|
add_versions("v2.8", "d3a419be62856ab8896004f91af58f5928ce7c536954398d02a8b99202c4808f") |
|
|
|
on_install("@windows", "@msys", function (package) |
|
os.cp(package:originfile(), package:installdir("bin")) |
|
end) |
|
|
|
on_test(function (package) |
|
os.runv("PortableBuildTools.exe", {"list"}) |
|
end) |
|
|
|
|