Skip to content

Commit 711c2c8

Browse files
committed
adding documentation for build tasks
1 parent 450898d commit 711c2c8

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

tasks/build/browserify.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file holds the "browersify" task which compiles the individual src/ code into p5.js and p5.min.js.
2+
13
'use strict';
24

35
import { resolve } from 'path';

tasks/build/combineModules.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file contains the "combineModules" task called during the build process.
2+
13
'use strict';
24

35
const fs = require('fs');

tasks/build/eslint-samples.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// This file contains the "eslint-samples" task.
2+
13
'use strict';
24
import { magenta } from 'chalk';
35

tasks/release/release-p5.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
// Grunt Task to create release archive. Also handles releasing
2-
// for Bower and release of reference on the website.
1+
// This file holds the "release" task. It spawns the menu in terminal to initiate the release process.
2+
// The release process includes:
3+
// 1. Creating the release archive (p5.js, p5.min.js, p5.sound.js, p5.sound.min.js, and p5.zip).
4+
// 2. Releasing to Bower via https://github.com/processing/p5.js-release (release-bower)
5+
// 3. Releasing the reference on the website via https://github.com/processing/p5.js-website (release-docs)
36

47
const open = require('open');
58
const spawn = require('child_process').spawnSync;

0 commit comments

Comments
 (0)