Skip to content

Commit 287e75f

Browse files
committed
make relocatable
1 parent c92ff86 commit 287e75f

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

Project.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
name = "HTML_Entities"
2-
desc = "Entities from HTML data tables"
3-
authors = ["ScottPJones <[email protected]>"]
2+
uuid = "7693890a-d069-55fe-a829-b4a6d304f0ee"
43
keywords = ["Entities", "HTML"]
54
license = "MIT"
6-
uuid = "7693890a-d069-55fe-a829-b4a6d304f0ee"
5+
desc = "Entities from HTML data tables"
6+
authors = ["ScottPJones <[email protected]>"]
77
version = "1.0.1"
88

99
[deps]
10+
RelocatableFolders = "05181044-ff0b-4ac5-8273-598c1e38db00"
1011
StrTables = "9700d1a9-a7c8-5760-9816-a99fda30bb8f"
1112

13+
[compat]
14+
RelocatableFolders = "0.3"
15+
StrTables = "1"
16+
julia = "1"
17+
1218
[extras]
1319
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1420

1521
[targets]
1622
test = ["Test"]
17-
18-
[compat]
19-
julia = "1"
20-
StrTables = "1"

src/HTML_Entities.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ __precompile__()
88
* completions(str)
99
"""
1010
module HTML_Entities
11-
using StrTables
11+
using StrTables, RelocatableFolders
1212

1313
VER = UInt32(1)
1414

@@ -30,7 +30,7 @@ end
3030

3131
function __init__()
3232
global default =
33-
HTML_Table(StrTables.load(joinpath(@__DIR__, "../data", "html.dat"))...)
33+
HTML_Table(StrTables.load(@path(joinpath(@__DIR__, "../data", "html.dat")))...)
3434
nothing
3535
end
3636
end # module HTML_Entities

0 commit comments

Comments
 (0)