Sha256: 4e50018a00513437cbd0b77d73c60dfafc25fd279c18a20d6393f56e4140b607

Contents?: true

Size: 476 Bytes

Versions: 7

Compression:

Stored size: 476 Bytes

Contents

require "bundler/gem_tasks"
require 'rspec/core/rake_task'

desc "update gl-matrix"
task :update do
  cwd = File.dirname(__FILE__)
  raise "failed to fetch latest" unless system *%w(npm install gl-matrix)
  mv File.expand_path("node_modules/gl-matrix/dist/gl-matrix.js", cwd),
     File.expand_path("vendor/assets/javascripts/gl-matrix.js", cwd)
  rm_rf File.expand_path("node_modules", cwd)
  puts
  puts "Done."
  puts
end

RSpec::Core::RakeTask.new

task :default => :spec

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
gl-matrix-rails-0.1.5 Rakefile
gl-matrix-rails-0.1.4 Rakefile
gl-matrix-rails-0.1.3 Rakefile
gl-matrix-rails-0.1.2 Rakefile
gl-matrix-rails-0.1.1 Rakefile
gl-matrix-rails-0.1.0 Rakefile
gl-matrix-0.1.0 Rakefile