Open luisrudge opened 10 years ago
I'm thinking the api should be something like this:
var slackKey = "foo";
var slackChannel = "bar";
pvc.Task("build", () => {
pvc.Source("PvcTest.sln")
.Pipe(new PvcMSBuild());
}).Notify(new SlackNotifier(slackKey, slackChannel));
I don't think this plugin should receive streams, since the main goal for a notifier (in this scope) is to notify about a finished task. Does anyone have some thoughts about this?
send events to slack