added clean method and compiled

This commit is contained in:
2016-07-21 02:24:54 +02:00
parent a2bf0315ac
commit e49a358b22
13 changed files with 175 additions and 83 deletions

View File

@ -29,7 +29,9 @@ export class NginxConfig {
removeZones(zoneArg:NginxZone){
}
clean(){
this.zones = [];
}
// handle deployment of zones
deploy(nginxRestartArg:boolean = false){
let done = plugins.q.defer();

View File

@ -4,6 +4,6 @@ export import cert = require("cert");
export import childProcess = require("child_process");
export import path = require("path");
export import q = require("q");
export let shelljs = require("shelljs");
export import shelljs = require("shelljs");
export import smartfile = require("smartfile");
export import smartstring = require("smartstring");