blob: 354878994d2e24d73f66762fe281ff88c4e17eb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import fileinput
class MSBuild (GitHubPackage):
def __init__ (self):
GitHubPackage.__init__ (self, 'mono', 'msbuild', '15', # note: fix scripts/ci/run-test-mac-sdk.sh when bumping the version number
revision = '804bde742bdf9d65c7ceb672a3d5400c0c22e628')
def build (self):
self.sh ('mono --version')
self.sh ('./build.sh -hostType mono -configuration Release -skipTests')
self.sh ('zip msbuild-bin-logs.zip artifacts/Release-MONO/log/*')
def install (self):
# use the bootstrap msbuild as the system might not have one available!
self.sh ('./artifacts/mono-msbuild/msbuild mono/build/install.proj /p:MonoInstallPrefix=%s /p:Configuration=Release-MONO /p:IgnoreDiffFailure=true' % self.staged_prefix)
MSBuild ()
|