-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Capability to detect precedence in scripts? #119
Comments
Currently, there is no capability of detecting dependancies in the module. And it would be quite an undertaking to implement something like this. |
Well, I've been using Combiner for more than 6 years, even if it's been designed for CSS combination in the first place... It's written in java, so cross-platform and you only need to add I don't know why, but it's sometime tricky to get the dependency tree match your need if you have a lot of files, but if you get used to develop "feature-based" or "plugin-based" it works! (the divide and conquer principle) Hope this helps ! |
Here is the code that wraps up combiner:
|
So, if I understand correctly, this solution still requires manually added requirements "tag" in the file, and then combines them all in one single file in the right order. That's not exactly a fully automatic precedence detection and you can pretty much achieve the same thing by renaming files to be in a proper precedence order. |
it's nearly correct... Except that if you number the files and a change comes "between" two consecutive numbers, or involve a complete review or the sequence, then, with this way, you don't need to bother with that, it will be performed dynamically. |
Hi,
I've just learned about this module and I would like to know if there is a way to detect dynamically scripts dependencies so that the overall execution will be successful?
I explain myself:
I'm used to create one script per database object. This script is re-runnable (it checks if the object exists or one of its column/index exists and if not => it adds it).
In most of cases, There is a hierarchy between scripts. For instance, the script running the CREATE SCHEMA [a] should be run before any script that will create an object in that schema.
Thanks in advance for the explanation.
The text was updated successfully, but these errors were encountered: