To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorConditional processing per host environment
In order to process assets according to the environment of the host app
As a developer
I want to specify this in my package definitions
- Scenarios
-
- Assets are processed based on host environment
-
- Given
-
these files exist
input/bar.js input/baz.js - And
-
the file ".assets.rb" contains
input 'input' output 'output' package :foo do env? 'production' do concat 'foo.js' end end
- And
- the app is loaded in a production environment
- And
- the app has been processed
- Then
-
these files should exist
output/foo.js - And
-
these files should not exist
output/bar.js output/baz.js
Last published over 3 years ago by joecorcoran.