File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ export RASCRIPT_SYNTAX_VERSION="v0.2.0"
77rm -rf ${PLAYGROUND}
88mkdir -p ${PLAYGROUND}
99git clone https://github.com/highlightjs/highlight.js ${PLAYGROUND}
10+ cd ${PLAYGROUND}
11+ git checkout tags/11.11.1
12+ cd ..
1013wget -O rascript-upstream.js " https://github.com/joshraphael/rascript-syntax/releases/download/${RASCRIPT_SYNTAX_VERSION} /rascript.js"
1114mkdir -p ${HIGHLIGHTJS_RASCRIPT}
1215cp -r src ${HIGHLIGHTJS_RASCRIPT}
You can’t perform that action at this time.
0 commit comments