UNPKG

flywaydb-cli

Version:

Install latest flywaydb-cli as a node module

18 lines (16 loc) 334 B
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}`); });