Sha256: a74e984d687e6307d0006040584029c69581cbb57cb758b92d88aa2bf73b8d97

Contents?: true

Size: 796 Bytes

Versions: 1

Compression:

Stored size: 796 Bytes

Contents

#!/usr/bin/env rake

# Bundler gem tasks ftw
require 'bundler/gem_tasks'

require 'rspec/core/rake_task'
require File.expand_path '../lib/teacup/version.rb', __FILE__

# Default task
task :default => :spec # Run spec
task :v       => :version # Alt

# - - - - - - - - - - - - - - - - - - -
# Tasks
# - - - - - - - - - - - - - - - - - - -

desc 'display Teacup\'s current version'
task(:version) { version }

desc 'diesplay list of contributors'
task(:contrib)  { contrib }

desc 'run RSpec tests'
RSpec::Core::RakeTask.new

desc 'build and install the gem'
task(:prep) { system('rake build; rake install') }

# - - - - - - - - - - - - - - - - - - -
# Helpers
# - - - - - - - - - - - - - - - - - - -

def version
  puts "Teacup #{Teacup::VERSION}"
end

def contrib
  puts Teacup::CONTRIBUTORS
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
teacup-0.0.1.pre Rakefile