timcolonel/wow

View on GitHub
README.md

Summary

Maintainability
Test Coverage
wow
===
[![Build Status](https://img.shields.io/travis/timcolonel/wow/master.svg?style=flat-square)](https://travis-ci.org/timcolonel/wow)
[![Code Climate](https://img.shields.io/codeclimate/coverage/github/timcolonel/wow.svg?style=flat-square)](https://codeclimate.com/github/timcolonel/wow/coverage)
[![Test Coverage](https://img.shields.io/codeclimate/github/timcolonel/wow.svg?style=flat-square)](https://codeclimate.com/github/timcolonel/wow)
[![Inline docs](http://inch-ci.org/github/timcolonel/wow.svg?branch=master&style=flat-square)](http://inch-ci.org/github/timcolonel/wow)

Wow packer. Cross platform package manager

#Requirements
* `> Ruby 2.0.0`

#Planned features
* Distribute files(Copying file on user computer) 
* Create some command line executables and add them to `PATH`
* Create some desktop application link
* Change version of a program(Rvm style): Switch active version of the program(Only the active version program will be added to the path)

# Commands

## Pack
Pack the code into a package read to upload to the server
Platform option:
* `any`: This will include all the files for all the platforms specified in the config.If the overal files is `src/` the unix sepcific config contains `files=['unix/']` and windows specific config contains `files=['windows/']` then all the 3 folder will be include in the package. On the other hand if `files_exclude` is used in platform specific then it will be ignored for building a package.
* `<plaform`: This will only include the files for the platform, excluding the files for the other platform. If the platform as subplatform the same apply as `any` for the subplatforms.



# Resolver

Packages:
- a:
    b '>= 1.0.0'
    c '>= 1.0.0, < 1.1.0'
    d '>= 1.0.0'
- d:
    b '>= 1.0.0, < 1.1.0'
    

install a:
    get b -> 2.0.0
    get c -> 1.0.9
    get d -> 2.0.0
        b dep changed

{a: '1.0.0', b: 2.0.0, c: '1.0.9', d: '2.0.0'}