diff --git a/Project.toml b/Project.toml index 144f706..2d6426a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PkgAuthentication" uuid = "4722fa14-9d28-45f9-a1e2-a38605bd88f0" authors = ["Sebastian Pfitzner", "contributors"] -version = "2.1.1" +version = "2.1.2" [deps] Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6" diff --git a/src/PkgAuthentication.jl b/src/PkgAuthentication.jl index 28850ae..d981455 100644 --- a/src/PkgAuthentication.jl +++ b/src/PkgAuthentication.jl @@ -621,4 +621,6 @@ function generate_auth_handler(maxcount::Integer) return auth_handler end +include("precompile.jl") + end # module diff --git a/src/precompile.jl b/src/precompile.jl new file mode 100644 index 0000000..d6cdf8a --- /dev/null +++ b/src/precompile.jl @@ -0,0 +1,2 @@ +precompile(authenticate, ()) +precompile(authenticate, (String,))