mfoemmel / fig

Fig is a utility for configuring environments and managing dependencies across a team of developers.
Other
81 stars 13 forks source link

Allow per config retrieve statements. #42

Open joewalnes opened 14 years ago

joewalnes commented 14 years ago

I'd like to do this:

config build
  retrieve CLASSPATH->lib
  include some/stuff
end

config runtime
  retrieve CLASSPATH->dist/lib
  include other/stuff
end
mfoemmel commented 14 years ago

Is the goal to be able to copy the same files to different places? Or to control when the retrieve happens for different files?

joewalnes commented 14 years ago

The latter - I want to put dependencies for different configs in different directories.

walquis commented 12 years ago

Another example (from duplicate issue #55):

config production retrieve CLASSPATH->deployment/jars include foo/1 end

config test retrieve CLASSPATH->tmp/jars include testing-framework/1 end