We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0940f04 + d93250b commit 07c1f14Copy full SHA for 07c1f14
external/buildscripts/build_us_and_boo.pl
@@ -137,4 +137,21 @@ sub BuildUnityScriptFor45
137
138
print(">>> Copying $monoprefix45/us.exe to $usBuildDir\n");
139
copy("$monoprefix45/us.exe", "$usBuildDir/.");
140
+
141
+ # put unityscript and boo into their own directories that we can reference for compilation only in Unity
142
+ my $usLibDir = "$monoprefix/lib/mono/unityscript";
143
144
+ if (!(-d "$usLibDir"))
145
+ {
146
+ print(">>> Removing directory $usLibDir\n");
147
+ rmtree($usLibDir);
148
+ }
149
150
+ mkdir($usLibDir);
151
152
+ foreach my $file (glob "$usBuildDir/*")
153
154
+ print(">>> Copying $file to $usLibDir\n");
155
+ copy($file, "$usLibDir/.");
156
157
}
0 commit comments