Skip to content

Commit 1954f32

Browse files
committed
Auto update the bundled demo highlight.js
1 parent 4ad052d commit 1954f32

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

demo/highlight.pack.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/process.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,9 @@ cp -a lib_highlight/test/detect/ ../test/detect/
4040
cp -a lib_highlight/test/markup/ ../test/markup/
4141

4242
rm ../test/{detect,markup}/index.js 2> /dev/null
43+
44+
# Build a full browser build and copy it over to our demo
45+
cd lib_highlight
46+
node tools/build -t browser
47+
cp build/highlight.pack.js ../../demo/highlight.pack.js
48+
cd ..

0 commit comments

Comments
 (0)