mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
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
345 B
17 lines
345 B
require "Utils" |
|
|
|
function nuget() |
|
if not os.isfile("nuget.exe") then |
|
http.download("https://nuget.org/nuget.exe") |
|
end |
|
|
|
local nugetexe = os.is("windows") and "NuGet.exe" or "mono ./NuGet.exe" |
|
execute(nugetexe .. " restore packages.config -PackagesDirectory ../deps") |
|
end |
|
|
|
clone() |
|
|
|
if _ACTION == "nuget" then |
|
nuget() |
|
os.exit() |
|
end
|
|
|