Sha256: f4cacc9cae16d653d9a552e248267faca7cd7c1d6823a06b33a1b19950276198

Contents?: true

Size: 820 Bytes

Versions: 1

Compression:

Stored size: 820 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rake/testtask'
Bundler::GemHelper.install_tasks

task :console do
  puts "Loading development console..."
  system("irb -r nuvado")
end

task :help do
  puts "Available rake tasks: "
  puts "rake console - Run a IRB console with all enviroment loaded"
  puts "rake spec - Run specs"
end

task :test do
  Dir.chdir('test')
end

Rake::TestTask.new(:test) do |t|
  t.libs << '../lib'
  t.libs << '../test'
  t.test_files = FileList['*_test.rb']
  t.verbose = false
end

desc "Build .deb package for nuvado"
task :build_deb do
  %x{fpm -s empty -t deb -n nuvado-toolbelt -d git-core -d ruby1.9.1 -d ruby1.9.1-dev --after-install post_install.sh -a all -v #{Nuvado::VERSION} -m "Lacides Charris <lacides@heapsource.com>" --url "nuvado.io"}
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nuvado-1.0.0.rc3 Rakefile