uname

Version, currently 1.0.32 versions

github.com/orelsokolov/uname

Interface to standard uname data via C extension

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  uname:
    github: orelsokolov/uname
    version: ~> 1.0.3

Then run:

shards install

shard.yml

Crystal
0.30.1
License
MIT
Author
Oleg Orlov
Target
  • shards from src/shards.cr

Dependencies

Development Dependencies

  • spec2*github: waterlink/spec2.crdev

README

uname Build Status

Uname is interface to standard uname data via C extension

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      uname:
        github: orelsokolov/uname
  2. Run shards install

Usage

require "uname"

Uname.sysname
Uname.nodename
Uname.release
Uname.machine
Uname.version

Contributing

  1. Fork it (https://github.com/orelsokolov/uname/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

Contributors