Sha256: 874ed3b0dcd53d4be09c49730986693038d8d2e321d073e8de712761dd835cfc
Contents?: true
Size: 814 Bytes
Versions: 2
Compression:
Stored size: 814 Bytes
Contents
# frozen_string_literal: true require "bundler/gem_tasks" # Replaced tasks task default: %i[] do system "lizarb test" end # Custom tasks # Custom prerequisite tasks task :custom_gemfiles do puts "... Bundling app_global.gemfile.rb" system "VERBOSE=1 BUNDLE_GEMFILE=app_global.gemfile.rb bundle update" puts "... Bundling Gemfile" system "VERBOSE=1 BUNDLE_GEMFILE=Gemfile bundle" puts "... Installing lizarb" end # Custom post-requisite tasks task :custom_post_task do puts "! Done" # Add your custom behavior here end # Enhance # Enhance the existing `build` task with the prerequisite Rake::Task["build"].enhance [:custom_gemfiles] # Enhance the existing `install` task with the post-requisite Rake::Task["install"].enhance do Rake.application.invoke_task :custom_post_task end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lizarb-1.0.5 | Rakefile |
lizarb-1.0.4 | Rakefile |