Skip to content

Commit 1ef6b5b

Browse files
committed
Undo gruntfile changes
1 parent ad31326 commit 1ef6b5b

File tree

1 file changed

+3
-33
lines changed

1 file changed

+3
-33
lines changed

Gruntfile.js

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,7 @@ module.exports = function(grunt) {
140140
cmd: 'bower update'
141141
},
142142
build_sphinx: {
143-
cmd: function (locale) {
144-
locale = (typeof locale !== 'undefined') ? locale : 'en';
145-
return 'sphinx-build -D language=' + locale + ' docs/ docs/build/html'
146-
}
143+
cmd: 'sphinx-build docs/ docs/build'
147144
}
148145
},
149146
clean: {
@@ -187,33 +184,6 @@ module.exports = function(grunt) {
187184
grunt.loadNpmTasks('grunt-open');
188185
grunt.loadNpmTasks('grunt-browserify');
189186

190-
grunt.registerTask('default', [
191-
'exec:bower_update',
192-
'clean',
193-
'copy:fonts',
194-
'sass:dev',
195-
'browserify:dev',
196-
'usebanner',
197-
'exec:build_sphinx',
198-
'connect',
199-
'open',
200-
'watch'
201-
]);
202-
grunt.registerTask('build', [
203-
'exec:bower_update',
204-
'clean',
205-
'copy:fonts',
206-
'sass:build',
207-
'browserify:build',
208-
'uglify',
209-
'usebanner',
210-
'exec:build_sphinx'
211-
]);
212-
grunt.registerTask('i18n', [
213-
'exec:babel_extract',
214-
'exec:tx_push',
215-
'exec:tx_pull',
216-
'exec:babel_compile',
217-
'exec:build_sphinx:es'
218-
]);
187+
grunt.registerTask('default', ['exec:bower_update','clean','copy:fonts','sass:dev','browserify:dev','usebanner','exec:build_sphinx','connect','open','watch']);
188+
grunt.registerTask('build', ['exec:bower_update','clean','copy:fonts','sass:build','browserify:build','uglify','usebanner','exec:build_sphinx']);
219189
}

0 commit comments

Comments
 (0)