Ticket #25117: 25117.2.diff
File 25117.2.diff, 2.6 KB (added by , 9 years ago) |
---|
-
.
-
.gitignore
Property changes on: . ___________________________________________________________________ Modified: svn:ignore ## -4,3 +4,4 ## node_modules npm-debug.log build +packages
15 15 /npm-debug.log 16 16 /build 17 17 /tests/phpunit/build 18 /packages 18 19 19 20 # Files and folders that get created in wp-content 20 21 /src/wp-content/blogs.dir -
Gruntfile.js
42 42 src: [] 43 43 }, 44 44 tinymce: ['<%= concat.tinymce.dest %>'], 45 qunit: ['tests/qunit/compiled.html'] 45 qunit: ['tests/qunit/compiled.html'], 46 packages: ['packages/**'] 46 47 }, 47 48 copy: { 48 49 files: { … … 377 378 }, 378 379 src: '<%= concat.tinymce.dest %>', 379 380 dest: BUILD_DIR + 'wp-includes/js/tinymce/wp-tinymce.js.gz' 381 }, 382 core: { 383 options: { 384 mode: 'zip', 385 archive: 'packages/wordpress.zip', 386 level: 9 387 }, 388 expand: true, 389 cwd: BUILD_DIR, 390 src: [ 391 '**', 392 '!wp-content/**', 393 'wp-content/**/index.php', 394 'wp-content/{plugins,themes}/index.php', 395 'wp-content/plugins/hello.php', 396 'wp-content/themes/twenty{twelve,thirteen,fourteen}' 397 ], 398 dest: 'wordpress/' 399 }, 400 'core-no-content': { 401 options: { 402 mode: 'zip', 403 archive: 'packages/wordpress-no-content.zip', 404 level: 9 405 }, 406 expand: true, 407 cwd: BUILD_DIR, 408 src: ['**', '!wp-content/**'], 409 dest: 'wordpress/' 410 }, 411 'core-tarball': { 412 options: { 413 mode: 'tgz', 414 archive: 'packages/wordpress.tar.gz', 415 level: 9 416 }, 417 expand: true, 418 cwd: BUILD_DIR, 419 src: '<%= compress.core.src %>', 420 dest: 'wordpress/' 380 421 } 381 422 }, 382 423 jsvalidate:{ … … 466 507 grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core', 'colors', 'rtl', 'cssmin:rtl', 'cssmin:colors', 467 508 'uglify:core', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce', 'jsvalidate:build']); 468 509 510 // Package creation task. 511 grunt.registerTask('package', 'Create download packages, for testing purposes.', 512 ['build', 'clean:packages', 'compress:core', 'compress:core-no-content', 'compress:core-tarball']); 513 469 514 // Testing tasks. 470 515 grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() { 471 516 grunt.util.spawn({