1.0.44 • Published 10 years ago

monkey-maker v1.0.44

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

MonkeyMaker.js

A Node.js library to easily create multiple configs for your Xamarin.iOS and Xamarin.Android projects.

GitHub license NPM version Downloads

Installation

$ npm install monkey-maker --save

What is MonkeyMaker?

MonkeyMaker is a Node.js package that would let you easily create deployment jobs similar to what a Makfile does but easier and of course in your favorite language, JavaScript. MonkeyMaker already comes with white-labeling tools making it a piece of cake to rebrand your app, change settings and deploy. The focus is on mobile platforms but it can extend to any compiler and any platform that can execute a Node.js app.

Specifically, MonkeyMaker ships with support for Xamarin's iOS and Android project but you can plug in your own builder and perform your own logic.

Through EventHandlers, you can perform your custom tasks at any event you'd like. For more info, see EventHandler documentation.

Through ArtifactProcessors, you can process the generated binary. A very common case scenario is to upload it somewhere, there is already an integration for HockeyApp and iTunesConnect. This way, you can simply plug in iTC Artifact Processor and make it a real Continuous Integration, a real automated deployment that builds and deploys to Test Flight for example without the need of any manual work.

Focus of MonkeyMaker is on extensibility. Everyone has its own needs, MonkeyMaker allows you to plug in event handlers and artifact processors to add any step you want and share it with the rest of the world so they can use it easily as well.

Let's talk code!

You always need a Monkey project settings. You pass these settings to Monkey to create an instance of Monkey. It's recommended that you keep these settings in a file. Like monkey.json.

var Monkey = require('monkey-maker');

var monkeyOptions = {
  project: {
    solutionPath: "/path/to/solution/file.sln"
  }
};
var myMonkey = new Monkey(monkeyOptions);

The only required field for Monkey is "project.solutionPath". However, depending on your needs, you may need to add other fields as well. For example, for iTunedConnect integration, you will need to plug in your user name and password. Note that this is shared with EventHandlers and ArtifactProcessors so if you have your own plug-in, your plug-in has access to these project settings and can require its own parameters.

For building your iOS project, simply write the following:

var Monkey = require('monkey-maker');

var monkeyOptions = {
  project: {
    solutionPath: "/path/to/solution/file.sln"
  },
  ios: {
    projectName: "MyProjectName"
  }
};
var myMonkey = new Monkey(monkeyOptions);
var results = myMonkey.build('Debug', 'ios');
console.log(results);

For more detailed documentation, checkout the Wiki.

Community

Google Groups: https://groups.google.com/a/tablika.com/forum/?hl=en#!forum/developer-community

Tasks

  • A good documentation.
  • Create plist property if it doesn't exist.
  • Default key.
  • Custom key name for objects
  • Hierarchical object representation in the property list files and the XML files (it's flat right now).
  • Grunt support
1.0.44

10 years ago

1.0.43

10 years ago

1.0.42

10 years ago

1.0.41

10 years ago

1.0.4

10 years ago

1.0.347

10 years ago

1.0.346

10 years ago

1.0.345

10 years ago

1.0.344

10 years ago

1.0.343

10 years ago

1.0.342

10 years ago

1.0.341

10 years ago

1.0.340

10 years ago

1.0.337

10 years ago

1.0.336

10 years ago

1.0.333

10 years ago

1.0.332

10 years ago

1.0.331

10 years ago

1.0.330

10 years ago

1.0.329

10 years ago

1.0.328

10 years ago

1.0.327

10 years ago

1.0.326

10 years ago

1.0.325

10 years ago

1.0.324

10 years ago

1.0.323

10 years ago

1.0.322

10 years ago

1.0.321

10 years ago

1.0.320

10 years ago

1.0.316

10 years ago

1.0.315

10 years ago

1.0.314

10 years ago

1.0.313

10 years ago

1.0.312

10 years ago

1.0.310

10 years ago

1.0.306

10 years ago

1.0.305

10 years ago

1.0.304

10 years ago

1.0.303

10 years ago

1.0.302

10 years ago

1.0.301

10 years ago

1.0.300

10 years ago

1.0.299

10 years ago

1.0.214

10 years ago

1.0.213

10 years ago

1.0.212

10 years ago

1.0.211

10 years ago

1.0.21

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

0.0.1

10 years ago

1.0.0

10 years ago