m_

0.0.15 • Public • Published

m_

minimalitst dependency manager based on git subtrees

Install

npm install -g m_

Example dependency file

{
    "test/lib": [
     	"https://github.com/mucbuc/traverse.git",
        "https://github.com/mucbuc/twice-size.git"
    ],
    "tools": [
        "https://github.com/mucbuc/plank.git"
    ]
}

Usage and options

Unless a file is specified by the file option m_ looks for dependencies in m_.json of the current working directory.

  Usage: m_ [options]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -u, --update         update subtrees (default)
    -i, --install        install subtrees
    -f, --file [path]    specify dependency file (defaults to m_.json)
    -p, --push [branch]  push changes to origin [branch], if no branch provided it will use base name of directory
    -s, --squash         squash history
    -r, --recursive      recursive mode

Constraints:

  • updates from master only

Subtree reference

http://blogs.atlassian.com/2013/05/alternatives-to-git-submodule-git-subtree/

Package Sidebar

Install

npm i m_

Weekly Downloads

8

Version

0.0.15

License

GNU

Last publish

Collaborators

  • mbusenitz