cleanup tools directory

This commit is contained in:
nightwing 2014-09-09 21:22:15 +04:00
commit 1bce1b2a60
9 changed files with 8 additions and 8 deletions

View file

@ -536,7 +536,7 @@ function generateThemesModule(themes) {
function addSnippetFile(modeName) {
var snippetFilePath = ACE_HOME + "/lib/ace/snippets/" + modeName;
if (!fs.existsSync(snippetFilePath + ".js")) {
copy.file(ACE_HOME + "/tool/snippets.tmpl.js", snippetFilePath + ".js", function(t) {
copy.file(ACE_HOME + "/tool/templates/snippets.js", snippetFilePath + ".js", function(t) {
return t.replace(/%modeName%/g, modeName);
});
}