Skip to content

Commit 20c97c4

Browse files
committed
Migrate to the new 3rd party language packaging system
1 parent 54ca641 commit 20c97c4

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,21 @@ The repository was eventually maintained by
1313

1414
- https://highlightjs.org/
1515
- https://docs.godotengine.org/en/latest/getting_started/scripting/gdscript/gdscript_basics.html
16+
17+
### Building
18+
19+
To build a distribution version of this module you need to use tools provided by Highlight.js.
20+
21+
1. Checkout highlightjs/highlight.js from GitHub.
22+
1. Create the `extra` folder in the root directory, if missing.
23+
1. In the `extra` directory create a `gdscript` subdirectory and put the contents
24+
of this repository there.
25+
1. Run build tools for the `cdn` target and you should see the `gdscript` language
26+
module being build alongside Highlight.js itself:
27+
28+
```
29+
node ./tools/build.js -t cdn
30+
31+
...
32+
Building extra\gdscript\dist/gdscript.min.js.
33+
```

dist/gdscript.min.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)