Skip to content

Instantly share code, notes, and snippets.

@EugeneN
Forked from AlexMost/test.yaml
Last active December 19, 2015 11:29
Show Gist options
  • Save EugeneN/5947819 to your computer and use it in GitHub Desktop.
Save EugeneN/5947819 to your computer and use it in GitHub Desktop.
modules:
- build: Cafe.build
- minify: Cafe.minify
- banner: Cafe.banner
- wrapper: Cafe.commonjswrapper
build :
sequence: !do |
recipe <= get-recipe@build 'recipe.yaml'
cache <- get-cache@build
_
bundles <= get-bundles@build recipe
modules <= get-modules@build recipe
-
realms <- realms@build
== <guard> realms or modules ==
_
changed_modules <= get-changed-modules@build modules
_
changed_bundles <= get-changed-bundles@build modules bundles
_
wrapped-modules <= wrap-modules@wrapper changed_modules
_
wrapped-bundles <= wrap-bundles@wrapper wrapped-modules
_
bundles-with-banner <= add-banner@banner wrapped-bundles
minify <- minify@minify wrapped-bundles
_
save-cache@build cache changed_modules changed_bundles
save-bundles@build cache changed_modules changed_bundles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment