Sha256: 5cbe4449c9af0015b522474e8330d7abae28c3bbb5b7fab323ca6e6f30ddc775

Contents?: true

Size: 530 Bytes

Versions: 43

Compression:

Stored size: 530 Bytes

Contents

require "appraisal"
require "rubygems"
require "bundler"
require "rspec/core/rake_task"

Bundler::GemHelper.install_tasks

RSpec::Core::RakeTask.new(:"spec:ruby")

desc "Run JavaScript specs"
task "spec:js" do
  # Need to call `exit!` manually to propogate exit status
  system "npm", "test" or exit!(1)
end

desc "Run all specs"
task :spec => ["spec:ruby", "spec:js"]

if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
  task :default do
    sh "appraisal install && rake appraisal spec"
  end
else
  task :default => :spec
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
i18n-js-3.9.2 Rakefile
i18n-js-3.9.1 Rakefile
i18n-js-3.9.0 Rakefile
i18n-js-3.8.4 Rakefile
i18n-js-3.8.3 Rakefile
i18n-js-3.8.2 Rakefile
i18n-js-3.8.1 Rakefile
i18n-js-3.8.0 Rakefile
i18n-js-3.7.1 Rakefile
i18n-js-3.7.0 Rakefile
i18n-js-3.6.0 Rakefile
i18n-js-3.5.1 Rakefile
i18n-js-3.5.0 Rakefile
i18n-js-3.4.2 Rakefile
i18n-js-3.4.1 Rakefile
i18n-js-3.4.0 Rakefile
i18n-js-3.3.0 Rakefile
i18n-js-3.2.3 Rakefile
i18n-js-3.2.2 Rakefile
i18n-js-3.2.1 Rakefile