Skip to content

Instantly share code, notes, and snippets.

@stellimatt
Last active September 26, 2016 22:19
Application's Rakefile to relay information to the gem's Rakefile.
require 'yaml'
require 'blog_refactor_gem'
# Read in the application's pipeline metadata
meta_path = File.join(File.expand_path(File.dirname(__FILE__)), 'pipeline-meta.yml')
@meta = YAML.load(IO.read(meta_path))
# Define where our pipeline will keep its parameter store,
# responsible for passing parameters from task to task during the execution of the pipeline.
@store_path = File.join(File.expand_path(File.dirname(__FILE__)), 'store.json')
# Invoke the gem's Rakefile. It will dynamically derive tasks from the metadata
require 'blog_refactor_rake'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment