aformusatii / dbdeploy

Automatically exported from code.google.com/p/dbdeploy
0 stars 0 forks source link

Allow scripts to be conditionally included. e.g. to prevent some scripts being run in production #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some scripts are intended only for use in development or test environments,
e.g. population of test data. 

It would be nice if there was a way to mark scripts to be excluded from
certain environments. This could be implemented in much the same way as the
Ant 'if' and 'unless' attributes can be used to filter out targets to be
run in a build.

http://ant.apache.org/manual/properties.html#if+unless

Original issue reported on code.google.com by kevin.st...@gmail.com on 6 May 2010 at 8:54

GoogleCodeExporter commented 8 years ago

Original comment by gtack...@googlemail.com on 24 Feb 2011 at 5:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Create a pull request that resolves this for the maven plugin:

https://github.com/tackley/dbdeploy/pull/12

Original comment by mail.sud@gmail.com on 23 Jun 2014 at 3:22