Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,11 @@ module.exports = function(grunt) {
grunt.registerTask('move_dataJSON', function() {
const dataJSON_p5js = 'tmp/p5.js/docs/reference/data.json';
const dataJSON_p5jswebsite = 'src/templates/pages/reference/data.json';
// move the data.json from the cloned p5.js repository to the p5.js-website repository
const dataJSONmin_p5js = 'tmp/p5.js/docs/reference/data.min.json';
const dataJSONmin_p5jswebsite = 'src/templates/pages/reference/data.min.json';
// move the data.json files from the cloned p5.js repository to the p5.js-website repository
fse.moveSync(dataJSON_p5js, dataJSON_p5jswebsite, { overwrite: true });
fse.moveSync(dataJSONmin_p5js, dataJSONmin_p5jswebsite, { overwrite: true });
// delete the tmp folder that contained the p5.js repository
fse.removeSync('tmp/');
});
Expand Down
2 changes: 1 addition & 1 deletion src/templates/pages/reference/data.min.json

Large diffs are not rendered by default.