mirror of
https://github.com/ethauvin/bld-antlr4.git
synced 2025-04-25 00:37:12 -07:00
GitHub setup
This commit is contained in:
parent
cc55c2f6bb
commit
0f5527f46e
3 changed files with 7 additions and 3 deletions
2
.github/workflows/bld.yml
vendored
2
.github/workflows/bld.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: badge-ci
|
name: bld-ci
|
||||||
|
|
||||||
on: [push, pull_request, workflow_dispatch]
|
on: [push, pull_request, workflow_dispatch]
|
||||||
|
|
||||||
|
|
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
|
@ -38,7 +38,7 @@ jobs:
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: 19
|
java-version: 17
|
||||||
|
|
||||||
- name: Build Javadocs
|
- name: Build Javadocs
|
||||||
run: ./bld download clean javadoc
|
run: ./bld download clean javadoc
|
||||||
|
|
|
@ -7,6 +7,8 @@
|
||||||
|
|
||||||
An extension for generating Java sources from ANTLR4 parsers.
|
An extension for generating Java sources from ANTLR4 parsers.
|
||||||
|
|
||||||
|
This is an example usage:
|
||||||
|
|
||||||
```java
|
```java
|
||||||
private final Antlr4Operation antlr4Operation_ = new Antlr4Operation();
|
private final Antlr4Operation antlr4Operation_ = new Antlr4Operation();
|
||||||
@BuildCommand
|
@BuildCommand
|
||||||
|
@ -28,3 +30,5 @@ throws Exception {
|
||||||
.mainSourceDirectories(List.of(antlr4Operation_.outputDirectory())));
|
.mainSourceDirectories(List.of(antlr4Operation_.outputDirectory())));
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The complete document of `Antrl4Operation` can be found in its [javadocs](https://rife2.github.io/bld-antlr4/rife/bld/extension/Antlr4Operation.html).
|
Loading…
Add table
Add a link
Reference in a new issue