Skip to content

Commit 58eeb07

Browse files
committed
test against stable release of highlight.js 11.11.1
1 parent fc2783b commit 58eeb07

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
"name": "highlightjs-rascript",
33
"version": "0.0.0",
44
"description": "highlight.js syntax definition for RATools DSL, RAScript",
5-
"main": "src/rascript.js",
5+
"main": "src/languages/rascript.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"repository": {
1010
"type": "git",
11-
"url": "https://github.com/joshraphael/highlightjs-rascript.git"
11+
"url": "git+https://github.com/joshraphael/highlightjs-rascript.git"
1212
},
1313
"keywords": [
1414
"rascript",
15+
"hljs",
1516
"highlight.js",
1617
"highlightjs",
1718
"syntax"

scripts/setup.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ export RASCRIPT_SYNTAX_VERSION="v0.2.0"
77
rm -rf ${PLAYGROUND}
88
mkdir -p ${PLAYGROUND}
99
git clone https://github.com/highlightjs/highlight.js ${PLAYGROUND}
10+
cd ${PLAYGROUND}
11+
git checkout tags/11.11.1
12+
cd ..
1013
wget -O rascript-upstream.js "https://github.com/joshraphael/rascript-syntax/releases/download/${RASCRIPT_SYNTAX_VERSION}/rascript.js"
1114
mkdir -p ${HIGHLIGHTJS_RASCRIPT}
1215
cp -r src ${HIGHLIGHTJS_RASCRIPT}

0 commit comments

Comments
 (0)