Sha256: 147a189b667d2576ba2c7d580e88ce7d1445224125ec9677ceb4b3ad295b3621

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

require "bundler/gem_tasks"
require 'rake/testtask'

task :default => :bootstrap

task :bootstrap do
  # clojurescript home
  CLOJURESCRIPT_HOME = File.join(File.dirname(__FILE__), "ext/clojure-clojurescript-bef56a7")

  $stdout.print "Bootrapping ClojureScript"

  # command to download and create jar archives
  cmd = "#{CLOJURESCRIPT_HOME}/script/bootstrap"
  %x( #{cmd} )

  # removes unnecessary temporary directory to create google closure jar archives
  require 'fileutils'
  FileUtils.rm_rf File.join(File.dirname(__FILE__), './closure')
end

Rake::TestTask.new do |t|
  t.pattern = "test/*_test.rb"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
clementine-0.0.2 Rakefile