Sha256: ef563cc643782ced426b7710ed087d44e76c9bdcb48512de4fc2574c0054c588

Contents?: true

Size: 1.21 KB

Versions: 19

Compression:

Stored size: 1.21 KB

Contents

RSpec::Core::RakeTask.new(:rspec)

namespace :travis do
  desc "Set up dependencies"
  task setup: [Vendor::BUILD, Bundle::BUILD, Travis::GIT]

  desc "Install gem"
  task Travis::INSTALL => Travis::SETUP do
    Rake::Task[:install].invoke
  end

  desc "Run test suite"
  task spec: Travis::SETUP do
    Rake::Task[:rspec].invoke
  end

  desc "Verify bin on CI"
  task verify: [Travis::INSTALL, Travis::TASKS]

  namespace :git do
    task :config do
      sh "git config --global user.email 'not-my@real-email.com'"
      sh "git config --global user.name 'John Doe'"
    end
  end

  namespace :tasks do
    desc "Run this"
    task all: [:welcome, :info]

    task :rfix do
      clone_and_run do
        sh "rfix"
      end
    end

    task :info do
      clone_and_run do
        sh "rfix info"
      end
    end

    task :help do
      clone_and_run do
        sh "rfix --help"
      end
    end

    task :welcome do
      clone_and_run do
        sh "rfix welcome"
      end
    end
  end
end

task :codeGen do
  sleep rand
end

task compile: :codeGen do
  say "in compile"
  sleep rand
end

task dataLoad: :codeGen do
  say "in data"
  # sleep rand
end

task gtest: [:compile, :dataLoad] do
  say "in test"
  sleep rand
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
rfix-1.4.1 tasks/travis.rake
rfix-1.4.0.pre.201 tasks/travis.rake
rfix-1.4.0 tasks/travis.rake
rfix-1.3.0.pre.199 tasks/travis.rake
rfix-1.2.6.pre.198 tasks/travis.rake
rfix-1.2.6 tasks/travis.rake
rfix-1.2.2.pre.174 tasks/travis.rake
rfix-1.2.5 tasks/travis.rake
rfix-1.2.4 tasks/travis.rake
rfix-1.2.3.pre tasks/travis.rake
rfix-1.2.2.pre tasks/travis.rake
rfix-1.2.2.pre.172 tasks/travis.rake
rfix-1.2.2 tasks/travis.rake
rfix-1.1.0.pre.150 tasks/travis.rake
rfix-1.2.0 tasks/travis.rake
rfix-1.1.4.pre tasks/travis.rake
rfix-1.1.1.pre tasks/travis.rake
rfix-1.1.0.pre.149 tasks/travis.rake
rfix-1.1.0.pre.147 tasks/travis.rake