xbuilder
v1.2.0
Published
an visual studio / xamarin xbuild tool for node.js
Downloads
19
Maintainers
Readme
xbuilder
An visual studio / xamarin xbuild for node.js,using msbuild default。
Install
npm install xbuilder --save
Using
var options = {
target:'Breeze',
buildTool:'msbuild',// or 'xbuild'
properties:{
Configuration:'Release',
Platform:'iPhone',
BuildIpa:true
},
solutionPath:'Breeze.sln',
targets:['Build']
};
//exec command: msbuild/xbuild /p:Configuration=Release /p:Platform=iPhone /p:BuildIpa=true /target:Breeze Breeze.sln
xbuild(options).then((commandOptions) => {
//todo..
}).catch((error) => {
console.log('error',error);
}).finally(()=>{
//todo..
});