Skip to content

Commit

Permalink
Merge pull request #662 from processing/fix/custom-branch-build
Browse files Browse the repository at this point in the history
Fix custom branch builds not generating p5.min.js
  • Loading branch information
davepagurek authored Dec 18, 2024
2 parents 348f77d + cc126f0 commit e439eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/parsers/reference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export const parseLibraryReference =

// If we're using a custom build of p5 instead of a public release, create
// a build and copy it to the specified path
if (process.env.P5_LIBRARY_PATH) {
await createP5Build('p5.js', '../../../public' + process.env.P5_LIBRARY_PATH)
if (process.env.PUBLIC_P5_LIBRARY_PATH) {
await createP5Build('p5.js', '../../../public' + process.env.PUBLIC_P5_LIBRARY_PATH)
}

// Copy the reference output so we can process it
Expand Down

0 comments on commit e439eb5

Please sign in to comment.