Coder Social home page Coder Social logo

monopm's Introduction

monopm

A package manangement system for Mono

This utility provides a wrapper around the Nuget package manager and allows you to store the dependencies for your project in a JSON file rather than XML. The aim of this tool is to make the use of nuget easier to use and to wrap the full functionality of nuget.

Install

$ npm istall -g monopm

Setup

If you want to rely on the default path for the nuget executable you need to set up an environment variable called NUGET_PATH. An example set up could be:

export NUGET_PATH=$HOME/bin/nuget.exe

Usage

monopm {OPTIONS}

The available options are:
  --dependencyFile, Used to indicate the location of the configuration file containing all of the dependency information. It defaults to 'dependencies.json'.
  -h                Display help for this command.

The Structure of a Dependency File

{
    "libraryPath": 'newLib',
    "nugetPath": '/home/nuget.exe',
    "packages": [
        { "name": "Microsoft.AspNet.WebApi", "version": "5.2.2"},
        { "name": "Microsoft.AspNet.WebApi.Client", "version": "5.2.2"},
        { "name": "Microsoft.AspNet.WebApi.Core", "version": "5.2.2"}
    ]
}
  • libraryPath : The directory where the packages will be installed. This setting is optional and if it is not provided then it will default to ./lib
  • nugetPath : The path to the nuget executable. This setting is optional and if it is not provided then it will use the path stored in the $NUGET_PATH environment variable.
  • packages : The list of packages to be installed for this project.
    • name: The name of the package to install, this maps to packageId in nuget speak.
    • version: The version of the package to install.

monopm's People

Contributors

rnowley-gh avatar

Watchers

James Cloos avatar Raymond Nowley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.