Last active
September 26, 2016 22:19
-
-
Save stellimatt/c842b5b47a7474d05eea63deda593c87 to your computer and use it in GitHub Desktop.
Application's Rakefile to relay information to the gem's Rakefile.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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