+3

define events for a project

Charles Bourasseau 12 jaar geleden 0

It would be great to have the possibility to define event for a project. If a file is saved or created, a command or a build will be started.

For example:


{

  "event_systems":

  [

    {

      "event": "onSaved",

      "cmd": [

        "sh build.sh"

      ]

    },

    {

      "event": "onCreateFile",

      "build": "MyBuild"

    }

  ],

  "build_systems":

  [

    {

      "name": "MyBuild",

      "cmd": [

        "mvn", "build"

      ],

      "shell": "true"

    }

  ],

  "folders":

  [

    {

      "name": "My project",

      "path": "/path/to/my/project"

    },

  ],

  "settings":

  {

  }

}