Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asset_compress.ini has two kinds of config #187

Closed
HaroldPutman opened this issue Nov 16, 2013 · 2 comments
Closed

asset_compress.ini has two kinds of config #187

HaroldPutman opened this issue Nov 16, 2013 · 2 comments

Comments

@HaroldPutman
Copy link
Contributor

We are running into trouble where the same asset_compress.ini is used in different evironments. So the sattings like the paths to tools like uglify and Less are mixed in with the definitions of the targets.

Our developers are running on Windows, Mac, and Linux which all need different values for the paths of these tools, but all need the same target definitions.

We solve this by having an asset_compress.ini.template that we use to generate asset_compress.ini files specific for each environment. The problem is that I have to remember to move the target definition changes into this template from my local asset_compress.ini.

I couldn't see any obvious workaround, but would it make sense to separate out the two kinds of configuration? Maybe putting the paths and stuff in different config file? Or is there a way to shove this config in a runtime after the plugin is loaded?

@markstory
Copy link
Owner

Either two kinds of configuration, or merging the results of two configuration files seems like a solution to this. I generally solve the platform issues with virtual machines, as it helps solve a host of other issues caused by developing on a different platform/OS than you are deploying to.

@Codaxis
Copy link
Contributor

Codaxis commented Apr 1, 2014

Should be closed, #198 adds support for per environment config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants