remove useless file
Joel AZEMAR
committed Jun 18, 2014
commit 5b747c1796860b79aa4d59745691f26d2d53f28e
Showing 2
changed files with
4 additions
and 37 deletions
Rakefile
+4
-9
| @@ | @@ -1,17 +1,12 @@ |
| require 'rubygems' | |
| require 'bundler/setup' | |
| + | require 'bundler/gem_tasks' |
| require 'rake' | |
| require 'rspec' | |
| - | require 'rspec/core/rake_task' |
| - | |
| require_relative 'lib/steam' | |
| - | RSpec::Core::RakeTask.new('spec:integration') do |spec| |
| - | spec.pattern = 'spec/**/*_spec.rb' |
| - | end |
| - | |
| - | task spec: ['spec:integration'] |
| - | |
| - | task default: :spec |
| \ No newline at end of file | |
| + | require 'rspec/core/rake_task' |
| + | RSpec::Core::RakeTask.new('spec') |
| + | task default: :spec |
bin/publish
+0
-28
| @@ | @@ -1,28 +0,0 @@ |
| - | #!/usr/bin/env ruby |
| - | |
| - | require_relative '../lib/steam' |
| - | |
| - | # bin/publish |
| - | |
| - | class Publish |
| - | |
| - | def start # version, rvm=false |
| - | # system "rvm use #{rvm}" |
| - | |
| - | system "bundle && bundle exec rspec" |
| - | system "gem build locomotivecms_steam.gemspec" |
| - | system "git tag -a v#{Locomotive::Steam::VERSION} -m 'version #{Locomotive::Steam::VERSION}'" |
| - | system "git push --tags" |
| - | system "gem push locomotivecms_steam-#{Locomotive::Steam::VERSION}.gem" |
| - | system "git push origin master" |
| - | end |
| - | |
| - | end |
| - | |
| - | # if ARGV.length != 1 # or !ARGV[0].match(/\d{1,3}.\d{1,3}.\d{1,3}/) |
| - | # puts 'HELP: ' |
| - | # puts '$ bin/publish [ruby-2.1.1@steam]' |
| - | # exit 0 |
| - | # end |
| - | |
| - | Publish.new.start # ARGV[0] |
| \ No newline at end of file | |