Skip to content

Commit e867f74

Browse files
committed
Trying to fix build, but something is broken
1 parent af88e57 commit e867f74

File tree

4 files changed

+3
-208
lines changed

4 files changed

+3
-208
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ NODE_MODULE = $(shell node -e "console.log(require('node:path').dirname(require.
2121
# trailing lib/ or mode/ or build/something at the end, but we need files from
2222
# other paths in them
2323
CM=$(call NODE_MODULE,codemirror)/..
24-
PYRET_MODE=$(call NODE_MODULE,pyret-codemirror-mode)/..
24+
PYRET_MODE=$(call NODE_MODULE,pyret-codemirror-mode/package.json)
2525
PYRET=$(call NODE_MODULE,pyret-lang)/../..
2626

2727
CPOMAIN=build/web/js/cpo-main.jarr
@@ -383,8 +383,8 @@ libpyret:
383383
$(MAKE) phaseA -C pyret/
384384

385385
$(BUNDLED_DEPS): src/scripts/npm-dependencies.js
386-
# Explicitly exclude crypto, buffer, and stylus, nested npm dependencies that aren't needed
387-
npx browserify src/scripts/npm-dependencies.js -x crypto -x stylus -o $(BUNDLED_DEPS)
386+
# Explicitly exclude crypto, buffer, canvas, and stylus, nested npm dependencies that aren't needed
387+
npx browserify src/scripts/npm-dependencies.js -x crypto -x canvas -x stylus -o $(BUNDLED_DEPS)
388388

389389
$(CPOMAIN): $(BUNDLED_DEPS) $(TROVE_JS) $(TROVE_ARR) $(WEBJS) src/web/js/*.js src/web/arr/*.arr cpo-standalone.js cpo-config.json src/web/arr/cpo-main.arr $(PHASEA)
390390
mkdir -p compiled/;

mst.arr

Lines changed: 0 additions & 68 deletions
This file was deleted.

rbt.arr

Lines changed: 0 additions & 56 deletions
This file was deleted.

xpoint.arr

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)