Skip to content

Commit f52ddb2

Browse files
authored
Add very basic precompilation (#40)
* Add very basic precompilation * Set version to 2.1.2
1 parent 691aaeb commit f52ddb2

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PkgAuthentication"
22
uuid = "4722fa14-9d28-45f9-a1e2-a38605bd88f0"
33
authors = ["Sebastian Pfitzner", "contributors"]
4-
version = "2.1.1"
4+
version = "2.1.2"
55

66
[deps]
77
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"

src/PkgAuthentication.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,4 +621,6 @@ function generate_auth_handler(maxcount::Integer)
621621
return auth_handler
622622
end
623623

624+
include("precompile.jl")
625+
624626
end # module

src/precompile.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
precompile(authenticate, ())
2+
precompile(authenticate, (String,))

0 commit comments

Comments
 (0)