Skip to content

lunavod/pullmeister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PullMeister - execute tasks after git pull

Config file example pullmeister.config.js

module.exports = ({
    test: {
        description: "Test command",
        glob: "*.*",
        commands: [
            ["pwd", {dir: "../"}],
            "echo Done"
        ]
    },
    migrate: {
        description: "Run db migrations",
        glob: "app/Database/Migrations/*.php",
        commands: [
            "php ./spark migrate"
        ]
    },
    compileFrontend: {
        description: "Rebuild frontend",
        glob: "frontend/**/*.*",
        commands: [
            ["yarn build", {dir: "./frontend"}]
        ]
    }
})

Place config file on your repo's root, then run a command pullmeister (or just pm). Script will execute git pull, then match received files with glob patterns from a config file, and run matching tasks.

Rebuild your frontend, migrate database, and more!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published