https://github.com/deployable/deployable-cygwin
Cygwin helpers for Ruby
https://github.com/deployable/deployable-cygwin
Last synced: 5 months ago
JSON representation
Cygwin helpers for Ruby
- Host: GitHub
- URL: https://github.com/deployable/deployable-cygwin
- Owner: deployable
- License: mit
- Created: 2014-12-05T18:53:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-23T10:31:00.000Z (about 11 years ago)
- Last Synced: 2025-02-09T20:28:15.180Z (about 1 year ago)
- Language: Ruby
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Deployable::Cygwin
Cygwin helper functions
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'deployable-cygwin'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install deployable-cygwin
## Usage
Cygwin detection
require 'deployable/cygwin'
Deployable::Cygwin.CYGWIN # => true
Deployable::Cygwin.cygwin? # => true
cygpath
require 'deployable/cygwin/path'
Deployable::Cygwin::Path.to_win('/cygdrive/c/some/path') # => "C:\\some\\path"
Deployable::Cygwin::Path.to_cyg('C:\some\path') # => "/cygdrive/c/some/path"
## Contributing
1. Fork it ( https://github.com/deployable/deployable-cygwin/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request