Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add event support for corral.json #144

Open
damon-kwok opened this issue Jul 16, 2020 · 1 comment
Open

Add event support for corral.json #144

damon-kwok opened this issue Jul 16, 2020 · 1 comment
Labels
enhancement New feature or request needs discussion Needs to be discussed further

Comments

@damon-kwok
Copy link

damon-kwok commented Jul 16, 2020

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",
    }
  ]
}
@SeanTAllen
Copy link
Member

Why? You need to provide problems that exist and how this will solve it, otherwise its just features for the sake of features.

@SeanTAllen SeanTAllen added enhancement New feature or request needs discussion Needs to be discussed further labels Jul 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs discussion Needs to be discussed further
Projects
None yet
Development

No branches or pull requests

2 participants