File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- playground /
1+ playground /
2+ rascript-upstream.js
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ bash ./scripts/setup.sh
55export PLAYGROUND=" playground"
66export HIGHLIGHTJS_RASCRIPT=" ${PLAYGROUND} /extra/highlightjs-rascript"
77
8- cp ${PLAYGROUND} / rascript.js src/languages
8+ cp rascript-upstream .js src/languages/rascript.js
99
1010rm -rf dist
1111mkdir -p dist
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export RASCRIPT_SYNTAX_VERSION="v0.2.0"
77rm -rf ${PLAYGROUND}
88mkdir -p ${PLAYGROUND}
99git clone https://github.com/highlightjs/highlight.js ${PLAYGROUND}
10- wget -O ${PLAYGROUND} / rascript.js " https://github.com/joshraphael/rascript-syntax/releases/download/${RASCRIPT_SYNTAX_VERSION} /rascript.js"
10+ wget -O rascript-upstream .js " https://github.com/joshraphael/rascript-syntax/releases/download/${RASCRIPT_SYNTAX_VERSION} /rascript.js"
1111mkdir -p ${HIGHLIGHTJS_RASCRIPT}
1212cp -r src ${HIGHLIGHTJS_RASCRIPT}
1313cp -r test ${HIGHLIGHTJS_RASCRIPT}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ bash ./scripts/setup.sh
55export PLAYGROUND=" playground"
66export HIGHLIGHTJS_RASCRIPT=" ${PLAYGROUND} /extra/highlightjs-rascript"
77
8- diff -q " src/languages/rascript.js" " ${PLAYGROUND} / rascript.js"
8+ diff -q " src/languages/rascript.js" " rascript-upstream .js"
99if [ $? -ne 0 ]; then
1010 exit 1
1111fi
You can’t perform that action at this time.
0 commit comments