Sha256: a86a5cbf7a8ee1542ac2083c314aa5ba6091a4316525bf988854e3370b8a9b66

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

#!/usr/bin/env rake
require 'bundler/gem_tasks'
require 'rake/testtask'

desc 'download the latest TypeScript source files'
task 'typescript:download' do
  sh 'npm', 'install', '-g', 'typescript'
end

desc 'upgrade TypeScript source files'
task 'typescript:upgrade' => %i(typescript:download) do
  mv 'node_modules/typescript', 'lib/support'
end

Rake::TestTask.new do |test|
  test.libs << "test"
  test.test_files = FileList['test/test*.rb']
  test.verbose = true
end

task :default => :test

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typescript-src-1.0.1.2 Rakefile
typescript-src-1.0.1.1 Rakefile