Sha256: 483e098e7b33c5d2c3d9ac70bbf765569d665d971ccf3407ad38f48f96118cab

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 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_vuc
  namespace :build do
    desc "Builds pack with visual use cases"
    task :vuc do
      DtcRake.check_jruby!
      announce "Building visual use cases pack"

      FileUtils.cd product.vuc_project do
        system "rake package"
      end

      DtcRake.mv_to_output_dir(product.vuc_project, product.vuc_file_name)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dtc_rake-1.0.0 lib/tasks/build_vuc.rake
dtc_rake-1.0.0.pre.beta.2 lib/tasks/build_vuc.rake
dtc_rake-1.0.0.pre.beta.1 lib/tasks/build_vuc.rake
dtc_rake-0.2.0 lib/tasks/build_vuc.rake
dtc_rake-0.1.2 lib/tasks/build_vuc.rake
dtc_rake-0.1.0 lib/tasks/build_vuc.rake