Skip to content

Commit

Permalink
Copy reftest html files to out/ for gh-pages (#3231)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Dec 21, 2023
1 parent 36ac3e0 commit 4236c66
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ module.exports = function (grunt) {
{ expand: true, dest: 'out-wpt/', cwd: 'gen', src: 'webgpu/listing.js' },
],
},
'htmlfiles-to-out': {
// Must run after run:build-out.
files: [
{ expand: true, dest: 'out/', cwd: 'src', src: 'webgpu/**/*.html' },
],
},
'htmlfiles-to-out-wpt': {
// Must run after run:build-out-wpt.
files: [
Expand Down Expand Up @@ -241,6 +247,7 @@ module.exports = function (grunt) {
'run:build-out',
'run:copy-assets',
'copy:gen-to-out',
'copy:htmlfiles-to-out',
]);
grunt.registerTask('build-wpt', 'Build out-wpt/ (no checks; run after generate-common)', [
'run:build-out-wpt',
Expand Down

0 comments on commit 4236c66

Please sign in to comment.