Skip to content

Add event support for corral.json #144

Description

@damon-kwok

The Event allow Corral to trigger and run custom tasks as it processes commands.
The difference between it and Plugin is: the event only takes effect for the current project.

corral.json:

{
  "deps": [
    {
      "locator": "github.com/ponylang/valbytes.git",
      "version": "0.5.0"
    }
  ],
  "info": {}, 
  "event": [
    {
      "on_init": "echo 'corral init'",
      "on_build": "echo building",
      "on_clean": "echo clean",
      "on_fetch": "echo fetch",
      "on_update": "echo update",
    }
  ]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions