зеркало из https://github.com/mozilla/brackets.git
Fix Gruntfile and localization scripts to pass build, fixes https://github.com/mozilla/thimble.mozilla.org/issues/1670
This commit is contained in:
Родитель
caae06be28
Коммит
b67d78923c
|
@ -93,9 +93,11 @@ module.exports = function (grunt) {
|
|||
|
||||
/* extensions and CodeMirror modes */
|
||||
'!extensions/default/*/unittests.js',
|
||||
'extensions/default/*/**/*.*',
|
||||
'extensions/default/*/**/*.js',
|
||||
'!extensions/extra/*/unittests.js',
|
||||
'extensions/extra/*/**/*.*',
|
||||
'extensions/extra/*/**/*.js',
|
||||
'!extensions/**/node_modules/**/*.js',
|
||||
'!extensions/**/test/**/*.js',
|
||||
'!**/unittest-files/**',
|
||||
'thirdparty/CodeMirror/addon/{,*/}*.js',
|
||||
'thirdparty/CodeMirror/keymap/{,*/}*.js',
|
||||
|
|
|
@ -94,7 +94,7 @@ function localizeBrackets(locale) {
|
|||
return Promise.resolve();
|
||||
}
|
||||
|
||||
if(isNewLocale) {
|
||||
if(isNewLocale && (destLocales.indexOf(localeDir) === -1)) {
|
||||
destLocales.push(localeDir);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче