Skip to content

Commit

Permalink
adds manifest and all build events
Browse files Browse the repository at this point in the history
  • Loading branch information
tzmanics committed Apr 13, 2020
1 parent 8c1bb9e commit 055807d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions index.js
@@ -0,0 +1,25 @@
module.exports = {
onInit: () => {
console.log("onInit: I run before anything else 🐣");
},
onPreBuild: () => {
console.log("onPreBuild: I run_before_ build commands are executed 🌤");
},
onBuild: () => {
console.log("onBuild: I run while build commands are being executed ⚙️");
},
onPostBuild: () => {
console.log("onPostBuild: I run _after_ build commands are executed ✅");
},
onSuccess: () => {
console.log("onSuccess: I run on build success 🎉");
},
onError: () => {
console.log("onError: I run on build error 🚒");
},
onEnd: () => {
console.log(
"onEnd: I run on build error or success when the build process ends 🎬"
);
},
};
1 change: 1 addition & 0 deletions manifest.yml
@@ -0,0 +1 @@
name: netlify-plugin-to-all-events

0 comments on commit 055807d

Please sign in to comment.