Skip to content

Instantly share code, notes, and snippets.

@svandragt
Created March 3, 2014 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save svandragt/9325563 to your computer and use it in GitHub Desktop.
Save svandragt/9325563 to your computer and use it in GitHub Desktop.
Most basic BuildTask
<?php
class TempTask extends BuildTask {
protected $title = 'TempTask';
protected $description = '';
public function run($request) {
echo '<pre>';
// Do stuff
echo '</pre>';
}
}
@svandragt
Copy link
Author

If you add this file, do a /dev/build then you can run this task via /dev/tasks/TempTask

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