Skip to content

Commit 138f342

Browse files
committed
Bump version to JFlex 1.9.1
1 parent 17bf11b commit 138f342

File tree

3 files changed

+46
-53
lines changed

3 files changed

+46
-53
lines changed

README.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ and add `JFLEX_ARTIFACTS` in your `maven_install` rule:
3535
http_archive(
3636
name = "jflex_rules",
3737
sha256 = "488e523bfed0e1793c68264341bc9c3050f4de3e4aa920f9a72d76ae327935e6",
38-
strip_prefix = "bazel_rules-1.9.0",
39-
url = "https://github.com/jflex-de/bazel_rules/archive/v1.9.0.tar.gz",
38+
strip_prefix = "bazel_rules-1.9.1",
39+
url = "https://github.com/jflex-de/bazel_rules/archive/v1.9.1.tar.gz",
4040
)
4141

4242
load("@jflex_rules//jflex:deps.bzl", "JFLEX_ARTIFACTS")
@@ -53,16 +53,12 @@ and add `JFLEX_ARTIFACTS` in your `maven_install` rule:
5353
)
5454

5555
If this is the first time you use `maven_install`, you need to generate the `maven_install.json` with
56-
57-
```
58-
bazel run @maven//:pin
59-
```
56+
57+
bazel run @maven//:pin
6058

6159
If you already used `maven_install` before, you need to update the pinned artifacts with:
6260

63-
```
64-
bazel run @unpinned_maven//:pin
65-
```
61+
bazel run @unpinned_maven//:pin
6662

6763
## Usage in BUILD files
6864

@@ -74,7 +70,7 @@ bazel run @unpinned_maven//:pin
7470
srcs = [], # A list of flex specifications
7571
outputs = [], # List of expected generated files
7672
)
77-
73+
7874
cup(
7975
name = "", # Choose a rule name
8076
src = "", # Grammar specification
@@ -85,24 +81,21 @@ As usual, these rules can be used as one of the `srcs` of another rules, such as
8581
For more details, see [cup](cup) and [jflex](jflex).
8682

8783
## Directory layout
88-
```
89-
├── assets → assets for the web site
90-
├── cup → contains the `cup.bzl` Skylark extension
91-
├── java → main Java source code
92-
│ └── jflex
93-
│ └── examples → examples
94-
│ ├── calculator → integration of JFlex and CUP
95-
│ └── helloworld → simple lexer
96-
├── javatests → tests of the examples
97-
├── jflex → contains the `jflex.bzl` Skylark extension
98-
└── third_party → Aliases for third-party libraries
9984

100-
```
85+
├── assets → assets for the web site
86+
├── cup → contains the `cup.bzl` Skylark extension
87+
├── java → main Java source code
88+
│ └── jflex
89+
│ └── examples → examples
90+
│ ├── calculator → integration of JFlex and CUP
91+
│ └── helloworld → simple lexer
92+
├── javatests → tests of the examples
93+
├── jflex → contains the `jflex.bzl` Skylark extension
94+
└── third_party → Aliases for third-party libraries
10195

10296

10397
[bazel]: http://bazel.build/
10498
[gh-jflex]: https://github.com/jflex-de/jflex
10599
[cup]: http://www2.cs.tum.edu/projects/cup/
106-
[be_maven_jar]: https://docs.bazel.build/versions/master/be/workspace.html#maven_jar
107-
[be_workspace]: https://docs.bazel.build/versions/master/tutorial/java.html#set-up-the-workspace
100+
[be_workspace]: https://docs.bazel.build/versions/master/tutorial/java.html#set-up-the-workspace
108101
[bb_jvm_external]: https://github.com/bazelbuild/rules_jvm_external

jflex/deps.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# After updating dependencies, tun
55
# bazel run @unpinned_maven//:pin
66
JFLEX_ARTIFACTS = [
7-
"de.jflex:jflex:jar:1.9.0",
7+
"de.jflex:jflex:jar:1.9.1",
88
"com.github.vbmacher:java-cup-runtime:jar:11b-20160615-1",
99
]

maven_install.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"dependency_tree": {
3-
"__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": 1608248307,
3+
"__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": 1980087307,
44
"conflict_resolution": {},
55
"dependencies": [
66
{
@@ -184,26 +184,26 @@
184184
"url": "https://repo1.maven.org/maven2/com/googlecode/java-diff-utils/diffutils/1.3.0/diffutils-1.3.0.jar"
185185
},
186186
{
187-
"coord": "de.jflex:jflex:1.9.0",
187+
"coord": "de.jflex:jflex:1.9.1",
188188
"dependencies": [
189189
"com.github.vbmacher:java-cup-runtime:11b-20160615-1",
190-
"org.apache.ant:ant-launcher:1.10.12",
191-
"org.apache.ant:ant:1.10.12",
192-
"com.google.code.findbugs:jsr305:3.0.2"
190+
"org.apache.ant:ant-launcher:1.10.13",
191+
"com.google.code.findbugs:jsr305:3.0.2",
192+
"org.apache.ant:ant:1.10.13"
193193
],
194194
"directDependencies": [
195195
"com.github.vbmacher:java-cup-runtime:11b-20160615-1",
196196
"com.google.code.findbugs:jsr305:3.0.2",
197-
"org.apache.ant:ant:1.10.12"
197+
"org.apache.ant:ant:1.10.13"
198198
],
199-
"file": "v1/https/jcenter.bintray.com/de/jflex/jflex/1.9.0/jflex-1.9.0.jar",
199+
"file": "v1/https/jcenter.bintray.com/de/jflex/jflex/1.9.1/jflex-1.9.1.jar",
200200
"mirror_urls": [
201-
"https://jcenter.bintray.com/de/jflex/jflex/1.9.0/jflex-1.9.0.jar",
202-
"https://maven.google.com/de/jflex/jflex/1.9.0/jflex-1.9.0.jar",
203-
"https://repo1.maven.org/maven2/de/jflex/jflex/1.9.0/jflex-1.9.0.jar"
201+
"https://jcenter.bintray.com/de/jflex/jflex/1.9.1/jflex-1.9.1.jar",
202+
"https://maven.google.com/de/jflex/jflex/1.9.1/jflex-1.9.1.jar",
203+
"https://repo1.maven.org/maven2/de/jflex/jflex/1.9.1/jflex-1.9.1.jar"
204204
],
205-
"sha256": "0b051212b9e9c8af51188541dd2226362ee1e7fd8184d2bb10e91111eb7b62d7",
206-
"url": "https://jcenter.bintray.com/de/jflex/jflex/1.9.0/jflex-1.9.0.jar"
205+
"sha256": "2888d90d6a5ee37166a5e339b1616ad3a2604e6cce246e61deaf115487b18350",
206+
"url": "https://jcenter.bintray.com/de/jflex/jflex/1.9.1/jflex-1.9.1.jar"
207207
},
208208
{
209209
"coord": "junit:junit:4.12",
@@ -223,34 +223,34 @@
223223
"url": "https://jcenter.bintray.com/junit/junit/4.12/junit-4.12.jar"
224224
},
225225
{
226-
"coord": "org.apache.ant:ant-launcher:1.10.12",
226+
"coord": "org.apache.ant:ant-launcher:1.10.13",
227227
"dependencies": [],
228228
"directDependencies": [],
229-
"file": "v1/https/jcenter.bintray.com/org/apache/ant/ant-launcher/1.10.12/ant-launcher-1.10.12.jar",
229+
"file": "v1/https/jcenter.bintray.com/org/apache/ant/ant-launcher/1.10.13/ant-launcher-1.10.13.jar",
230230
"mirror_urls": [
231-
"https://jcenter.bintray.com/org/apache/ant/ant-launcher/1.10.12/ant-launcher-1.10.12.jar",
232-
"https://maven.google.com/org/apache/ant/ant-launcher/1.10.12/ant-launcher-1.10.12.jar",
233-
"https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.12/ant-launcher-1.10.12.jar"
231+
"https://jcenter.bintray.com/org/apache/ant/ant-launcher/1.10.13/ant-launcher-1.10.13.jar",
232+
"https://maven.google.com/org/apache/ant/ant-launcher/1.10.13/ant-launcher-1.10.13.jar",
233+
"https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.10.13/ant-launcher-1.10.13.jar"
234234
],
235-
"sha256": "42a7ca7e7bb777fe7ee75a5ed4cc529c766bc43486367fdaad0ab4a32ee9c249",
236-
"url": "https://jcenter.bintray.com/org/apache/ant/ant-launcher/1.10.12/ant-launcher-1.10.12.jar"
235+
"sha256": "cd7695b3bfb6964ab71b6a0b31dad60005ae77fe502132364679aacf08f77970",
236+
"url": "https://jcenter.bintray.com/org/apache/ant/ant-launcher/1.10.13/ant-launcher-1.10.13.jar"
237237
},
238238
{
239-
"coord": "org.apache.ant:ant:1.10.12",
239+
"coord": "org.apache.ant:ant:1.10.13",
240240
"dependencies": [
241-
"org.apache.ant:ant-launcher:1.10.12"
241+
"org.apache.ant:ant-launcher:1.10.13"
242242
],
243243
"directDependencies": [
244-
"org.apache.ant:ant-launcher:1.10.12"
244+
"org.apache.ant:ant-launcher:1.10.13"
245245
],
246-
"file": "v1/https/jcenter.bintray.com/org/apache/ant/ant/1.10.12/ant-1.10.12.jar",
246+
"file": "v1/https/jcenter.bintray.com/org/apache/ant/ant/1.10.13/ant-1.10.13.jar",
247247
"mirror_urls": [
248-
"https://jcenter.bintray.com/org/apache/ant/ant/1.10.12/ant-1.10.12.jar",
249-
"https://maven.google.com/org/apache/ant/ant/1.10.12/ant-1.10.12.jar",
250-
"https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.12/ant-1.10.12.jar"
248+
"https://jcenter.bintray.com/org/apache/ant/ant/1.10.13/ant-1.10.13.jar",
249+
"https://maven.google.com/org/apache/ant/ant/1.10.13/ant-1.10.13.jar",
250+
"https://repo1.maven.org/maven2/org/apache/ant/ant/1.10.13/ant-1.10.13.jar"
251251
],
252-
"sha256": "5c6a438c3ebe7a306eba452b09fa307b0e60314926177920bca896c4a504eaf6",
253-
"url": "https://jcenter.bintray.com/org/apache/ant/ant/1.10.12/ant-1.10.12.jar"
252+
"sha256": "befbfc79e744e9892cfa7db96df3b6e82dc17d2571af42aa427976fc22299838",
253+
"url": "https://jcenter.bintray.com/org/apache/ant/ant/1.10.13/ant-1.10.13.jar"
254254
},
255255
{
256256
"coord": "org.checkerframework:checker-compat-qual:2.5.5",

0 commit comments

Comments
 (0)