INNER CODE UNIT · JavaScript
deployBeforeHookWithoutHandler
logandk/serverless-wsgi · index.js:782
const deployBeforeHookWithoutHandler = () =>
BbPromise.bind(this)
.then(this.validate)
.then(this.configurePackaging)
.then(this.locatePython)
.then(this.packRequirements)
.then(this.linkRequirements);
const deployAfterHook = () =>
BbPromise.bind(this)
.then(this.validate)
.then(this.unlinkRequirements)
.then(this.cleanup);
this.hooks = {
"wsgi:wsgi": () => {
this.serverless.cli.generateCommandsHelp(["wsgi"]);
return BbPromise.resolve();