[MacSDK] Build msbuild for Release config
authorAlexis Christoforides <alexis@thenull.net>
Wed, 3 May 2017 19:56:47 +0000 (15:56 -0400)
committerAlexis Christoforides <alexis@thenull.net>
Wed, 3 May 2017 19:56:47 +0000 (15:56 -0400)
packaging/MacSDK/msbuild.py

index 3b186576c4354e9e6922348c35ef5067c6011405..09cacd29d87d14ce5699c848d135a41e8585394c 100644 (file)
@@ -1,16 +1,14 @@
 import fileinput
 
-
 class MSBuild (GitHubPackage):
+       def __init__ (self):
+               GitHubPackage.__init__ (self, 'mono', 'msbuild', '15.0',
+                       git_branch = 'xplat-master')
 
-    def __init__(self):
-        GitHubPackage.__init__(self, 'mono', 'msbuild', '15.0',
-                               git_branch='xplat-master')
-
-    def build(self):
-        self.sh('./cibuild.sh --scope Compile --target Mono --host Mono')
+       def build (self):
+               self.sh ('./cibuild.sh --scope Compile --target Mono --host Mono --config Release')
 
-    def install(self):
-        self.sh('./install-mono-prefix.sh %s' % self.staged_prefix)
+       def install (self):
+                self.sh ('./install-mono-prefix.sh %s' % self.staged_prefix)
 
-MSBuild()
+MSBuild ()