@jitterbox/flywaydb-cli
Version:
Install latest flywaydb-cli as a node module (forked from github.com/sgraham785/flywaydb-cli)
18 lines (16 loc) • 351 B
JavaScript
import {
getReleaseSource,
downloadFlywaySource,
extractToLib,
copyToBin,
cleanupDirs
} from "./utils";
getReleaseSource()
.then(downloadFlywaySource)
.then(extractToLib)
.then(copyToBin)
.then(cleanupDirs)
.catch(function(reason) {
// Handle failed request...
console.error(`error --> ${reason}`);
});