Skip to content

Commit afb7214

Browse files
authored
Merge pull request #5732 from processing/fix-extra-files-in-zip
only include necessary files in zip
2 parents 9cd1863 + f932352 commit afb7214

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Gruntfile.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,19 @@ module.exports = grunt => {
365365
options: {
366366
archive: 'release/p5.zip'
367367
},
368-
files: [{ cwd: 'lib/', src: ['**/*'], expand: true }]
368+
files: [
369+
{
370+
cwd: 'lib/',
371+
src: [
372+
'p5.js',
373+
'p5.min.js',
374+
'addons/*',
375+
'empty-example/*',
376+
'README.txt'
377+
],
378+
expand: true
379+
}
380+
]
369381
}
370382
},
371383

0 commit comments

Comments
 (0)