-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify gradle build to zip up distributions.
Modify Usage text. Modify shell script on location of liquify.jar file. Add license.
- Loading branch information
Showing
5 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
# liquifier | ||
# Liquify | ||
|
||
Liquifier is a command-line tool to convert Liquibase changelog files | ||
between the supported file formats(xml,yaml,json,sql). | ||
Liquify is a command-line tool to convert [Liquibase](http://www.liquibase.org) changelog files | ||
between the supported file formats(xml,yaml,json,sql). The project comes with the | ||
liquify bash shell script as the default way to launch the tool. However, if you do not | ||
have BASH on your machine, you can still launch the still using the java command as well (java -jar liquify.jar [-options] <source>). | ||
|
||
``` | ||
Usage: | ||
liquify [-options] <source> | ||
liquify [-options] <source> | ||
|
||
Options: | ||
Required: | ||
-t, --type Change log file type to convert to (xml,yaml,json,sql). | ||
|
||
Optional: | ||
-db, --database Database type to use when using the sql type (i.e oracle, h2, etc). | ||
|
||
Options: | ||
Required: | ||
-t,--type Target changelog file type (xml,yaml,json,sql). | ||
Conditional: | ||
-db,--database Database type to use when using the sql type (i.e oracle, h2, etc). | ||
Example Usage: | ||
liquify -t sql -db oracle db.changelog.xml (creates db.changelog.oracle.sql with the oracle dialect). | ||
``` | ||
_Note: When using the sql change log file type, not all bundled change commands are supported the different | ||
database types (i.e. createSequence, addAutoIncrement, etc). If the tool fails to build when trying to, | ||
convert to the sql type, it could be because of the desired database type not supporting a bundle change command | ||
in the source change log file._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 Daniel Aquino | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
java -jar liquify.jar "$@" | ||
java -jar libs/liquify.jar "$@"s |