Skip to content

Commit 028617b

Browse files
authored
Fix an issue with OTP28 and dispatch regexp compilation (#8)
* Test on newer OTP versions * Remove OTP25 test * Use persistent_term to store the pre-compiled regexps
1 parent 2a193d2 commit 028617b

File tree

3 files changed

+124
-75
lines changed

3 files changed

+124
-75
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
otp_version: [22,23,24]
21+
otp_version: [26,27,28]
2222
os: [ubuntu-latest]
2323

2424
container:

src/dispatch_compiler.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{description, "Compile dispatch rules to an Erlang module"},
44
{vsn, "git"},
55
{registered, []},
6-
{applications, [ kernel, stdlib ]},
6+
{applications, [ kernel, stdlib, syntax_tools, compiler ]},
77
{env, []},
88
{maintainers, ["Zotonic Team"]},
99
{licenses, ["Apache 2.0"]},

0 commit comments

Comments
 (0)