Created
April 6, 2016 11:35
-
-
Save ffloyd/3ca2db5a07f4536923f47367c97bf2cf to your computer and use it in GitHub Desktop.
example (draft) heavy_control config
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
HeavyControl.config do | |
root :concepts do # all stuff loaded in recursive lexicographical order, deep files last | |
common do | |
no_scope :operations # concepts/aaa/operations/bbb.rb will be pointed to Aaa::Bbb instead of Aaa::Operations::Bbb | |
# it's like we move all files out of operations folder | |
prioritize_file :policy # will load policy.rb before any other files and directories in folder | |
prioritize_folder :generators # will load generators folder before any other files and directories in folder, except :policy | |
end | |
load_first :lcm, :test # load folders lcm and test before any other folders | |
override :webinar do # like common block, but for specific folder | |
prioritize_file :state | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment