Skip to content

Commit

Permalink
adding documentation for build tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lmccart committed Jul 22, 2020
1 parent 450898d commit 711c2c8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions tasks/build/browserify.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This file holds the "browersify" task which compiles the individual src/ code into p5.js and p5.min.js.

'use strict';

import { resolve } from 'path';
Expand Down
2 changes: 2 additions & 0 deletions tasks/build/combineModules.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This file contains the "combineModules" task called during the build process.

'use strict';

const fs = require('fs');
Expand Down
2 changes: 2 additions & 0 deletions tasks/build/eslint-samples.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// This file contains the "eslint-samples" task.

'use strict';
import { magenta } from 'chalk';

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

const open = require('open');
const spawn = require('child_process').spawnSync;
Expand Down

0 comments on commit 711c2c8

Please sign in to comment.