项目作者: Valve

项目描述 :
TypeScript source files packaged in a Ruby gem
高级语言: JavaScript
项目地址: git://github.com/Valve/tsrc.git
创建时间: 2017-02-08T22:33:00Z
项目社区:https://github.com/Valve/tsrc

开源协议:Apache License 2.0

下载


Gem Version

TypeScript source files in a Ruby gem.

Installation

Add this line to your application’s Gemfile:

  1. gem 'tsrc'

And then execute:

  1. $ bundle

Or install it yourself as:

  1. $ gem install tsrc

Usage

  1. require 'tsrc'
  2. p TypeScript::Src.tsc_path # => #<Pathname:/path/to/tsc>
  3. p TypeScript::Src.js_path # => #<Pathname:/path/to/typescript.js>
  4. p TypeScript::Src.version # => "1.4.1.3"

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request