mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Extending ionic tool to have multiple task support.
This commit is contained in:
13
tools/ionic/lib/ionic/start.js
Normal file
13
tools/ionic/lib/ionic/start.js
Normal file
@ -0,0 +1,13 @@
|
||||
var fs = require('fs'),
|
||||
ncp = require('ncp').ncp,
|
||||
path = require('path'),
|
||||
IonicTask = require('./task').IonicTask;
|
||||
|
||||
var IonicStartTask = function() {
|
||||
}
|
||||
|
||||
IonicStartTask.prototype = new IonicTask();
|
||||
IonicStartTask.prototype.run = function(ionic) {
|
||||
|
||||
};
|
||||
|
||||
9
tools/ionic/lib/ionic/task.js
Normal file
9
tools/ionic/lib/ionic/task.js
Normal file
@ -0,0 +1,9 @@
|
||||
var IonicTask = function() {
|
||||
};
|
||||
|
||||
IonicTask.prototype = {
|
||||
run: function(ionic) {
|
||||
}
|
||||
};
|
||||
|
||||
exports.IonicTask = IonicTask;
|
||||
Reference in New Issue
Block a user