Sha256: 0f0926c9cc2883c7e8adb75afb77aca919289f5f833fbaa34e79ad0f91b219b9

Contents?: true

Size: 533 Bytes

Versions: 9

Compression:

Stored size: 533 Bytes

Contents

require "rake"
require "fileutils"
require "dtc_rake/config"
require "dtc_rake/product"
require "dtc_rake/ui"
require "dtc_rake/util"

include DtcRake::UI
product = DtcRake::Product.instance

if product.has_gem
  namespace :build do
    desc "Builds pack with command client Ruby gem"
    task :gem do
      announce "Building command client Ruby gem pack"
      FileUtils.cd product.gem_project do
        system "rake package"
      end

      DtcRake.mv_to_output_dir(product.gem_project, product.gem_file_name)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dtc_rake-1.2.1 lib/tasks/build_gem.rake
dtc_rake-1.2.0 lib/tasks/build_gem.rake
dtc_rake-1.1.0 lib/tasks/build_gem.rake
dtc_rake-1.0.0 lib/tasks/build_gem.rake
dtc_rake-1.0.0.pre.beta.2 lib/tasks/build_gem.rake
dtc_rake-1.0.0.pre.beta.1 lib/tasks/build_gem.rake
dtc_rake-0.2.0 lib/tasks/build_gem.rake
dtc_rake-0.1.2 lib/tasks/build_gem.rake
dtc_rake-0.1.0 lib/tasks/build_gem.rake