private void BuildScriptGateways()
        {
            var path = _project.GetScript(ScriptType.PreDeploy);

                if(!string.IsNullOrEmpty(path))
                    _scriptGateways["Pre"] = new ScriptFileGateway(_project, path);

                path = _project.GetScript(ScriptType.PostDeploy);

                if (!string.IsNullOrEmpty(path))
                    _scriptGateways["Post"] = new ScriptFileGateway(_project, path);
        }
Exemplo n.º 2
0
        private void BuildScriptGateways()
        {
            var path = _project.GetScript(ScriptType.PreDeploy);

            if (!string.IsNullOrEmpty(path))
            {
                _scriptGateways["Pre"] = new ScriptFileGateway(_project, path);
            }


            path = _project.GetScript(ScriptType.PostDeploy);

            if (!string.IsNullOrEmpty(path))
            {
                _scriptGateways["Post"] = new ScriptFileGateway(_project, path);
            }
        }