moxie-checkout v1.4.1
Moxie Checkout
Moxie Checkout is a command line tool to make developing Moxie more easily. It will create a workspace with which to develop Moxie and manage individual modules on specific branches.
Install
$ npm install -g moxie-checkoutUsage
$ mc [optional selectors]By default mc will clone and install moxie, then clone, install and link all dependencies of moxie that exist within the moxiesuite Github organization into a single workspace.
Branch Selectors
You can specify optional branch selectors when installing packages with Moxie Checkout.
There are two types of selectors: recursive selectors and one-off selectors. Examples:
Recursive selector. This will install
moxiepackage and clone/install all relevant dependencies, switching bothmoxieand all dependencies to thedevelopbranch.mc moxie:developOne-off selector. This will install the
moxie-contractpackage and clone/all all relevant dependencies. Here,moxie-contractwill be switched to thejson-schemabranch, but its dependencies will either be left alone (if already installed), or will default to the main branch of their repository, usuallymaster.mc moxie-contract@json-schema
You can also mix selectors. For instance, the following will install moxie and all of its dependencies at the develop branch, but leave moxie-contract at the json-schema branch:
mc moxie:develop moxie-contract@json-schema