Skip to content

Commit d3c0e60

Browse files
authored
Setup Project.toml files, remove REQUIRE (#158)
Sets a Project.toml file for the project and the docs, removes the REQUIRE file. Also a few misc changes to the docs to build correctly.
1 parent fbd22a0 commit d3c0e60

File tree

8 files changed

+171
-9
lines changed

8 files changed

+171
-9
lines changed

.travis.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,19 @@ notifications:
2525
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
2626
# - julia -e 'Pkg.clone(pwd()); Pkg.build("SpecialFunctions"); Pkg.test("SpecialFunctions"; coverage=true)';
2727
after_success:
28-
- julia -e 'cd(Pkg.dir("SpecialFunctions")); ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps); include(joinpath("docs", "make.jl"))';
2928
- julia -e 'cd(Pkg.dir("SpecialFunctions")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
29+
30+
31+
jobs:
32+
include:
33+
- stage: "Documentation"
34+
julia: 1.0
35+
os: linux
36+
script:
37+
- julia --project=docs/ -e 'using Pkg;
38+
Pkg.develop(PackageSpec(path=pwd()));
39+
Pkg.instantiate();
40+
Pkg.build();'
41+
- julia --project=docs/ docs/make.jl
42+
after_success: skip
43+

Project.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name = "SpecialFunctions"
2+
uuid = "276daf66-3868-5448-9aa4-cd146d93841b"
3+
version = "0.8.0"
4+
5+
[deps]
6+
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
7+
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
8+
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
9+
10+
[extras]
11+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
12+
13+
[targets]
14+
test = ["Test"]
15+
16+
[compat]
17+
BinaryProvider = "≥ 0.5.0"
18+
julia = "≥ 0.7.0"

REQUIRE

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/Manifest.toml

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
[[Base64]]
4+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
5+
6+
[[BinDeps]]
7+
deps = ["Compat", "Libdl", "SHA", "URIParser"]
8+
git-tree-sha1 = "12093ca6cdd0ee547c39b1870e0c9c3f154d9ca9"
9+
uuid = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
10+
version = "0.8.10"
11+
12+
[[BinaryProvider]]
13+
deps = ["Libdl", "Pkg", "SHA", "Test"]
14+
git-tree-sha1 = "055eb2690182ebc31087859c3dd8598371d3ef9e"
15+
uuid = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
16+
version = "0.5.3"
17+
18+
[[Compat]]
19+
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]
20+
git-tree-sha1 = "84aa74986c5b9b898b0d1acaf3258741ee64754f"
21+
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20"
22+
version = "2.1.0"
23+
24+
[[Dates]]
25+
deps = ["Printf"]
26+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
27+
28+
[[DelimitedFiles]]
29+
deps = ["Mmap"]
30+
uuid = "8bb1440f-4735-579b-a4ab-409b98df4dab"
31+
32+
[[Distributed]]
33+
deps = ["Random", "Serialization", "Sockets"]
34+
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b"
35+
36+
[[DocStringExtensions]]
37+
deps = ["LibGit2", "Markdown", "Pkg", "Test"]
38+
git-tree-sha1 = "4d30e889c9f106a51ffa4791a88ffd4765bf20c3"
39+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
40+
version = "0.7.0"
41+
42+
[[Documenter]]
43+
deps = ["Base64", "DocStringExtensions", "InteractiveUtils", "LibGit2", "Logging", "Markdown", "Pkg", "REPL", "Random", "Test", "Unicode"]
44+
git-tree-sha1 = "9f2135e0e7ecb63f9c3ef73ea15a31d8cdb79bb7"
45+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
46+
version = "0.20.0"
47+
48+
[[InteractiveUtils]]
49+
deps = ["Markdown"]
50+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
51+
52+
[[LibGit2]]
53+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
54+
55+
[[Libdl]]
56+
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
57+
58+
[[LinearAlgebra]]
59+
deps = ["Libdl"]
60+
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
61+
62+
[[Logging]]
63+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
64+
65+
[[Markdown]]
66+
deps = ["Base64"]
67+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
68+
69+
[[Mmap]]
70+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
71+
72+
[[Pkg]]
73+
deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"]
74+
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
75+
76+
[[Printf]]
77+
deps = ["Unicode"]
78+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
79+
80+
[[REPL]]
81+
deps = ["InteractiveUtils", "Markdown", "Sockets"]
82+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
83+
84+
[[Random]]
85+
deps = ["Serialization"]
86+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
87+
88+
[[SHA]]
89+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
90+
91+
[[Serialization]]
92+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
93+
94+
[[SharedArrays]]
95+
deps = ["Distributed", "Mmap", "Random", "Serialization"]
96+
uuid = "1a1011a3-84de-559e-8e89-a11a2f7dc383"
97+
98+
[[Sockets]]
99+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
100+
101+
[[SparseArrays]]
102+
deps = ["LinearAlgebra", "Random"]
103+
uuid = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
104+
105+
[[SpecialFunctions]]
106+
deps = ["BinDeps", "BinaryProvider", "Libdl"]
107+
path = ".."
108+
uuid = "276daf66-3868-5448-9aa4-cd146d93841b"
109+
version = "0.7.2+"
110+
111+
[[Statistics]]
112+
deps = ["LinearAlgebra", "SparseArrays"]
113+
uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
114+
115+
[[Test]]
116+
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"]
117+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
118+
119+
[[URIParser]]
120+
deps = ["Test", "Unicode"]
121+
git-tree-sha1 = "6ddf8244220dfda2f17539fa8c9de20d6c575b69"
122+
uuid = "30578b45-9adc-5946-b283-645ec420af67"
123+
version = "0.4.0"
124+
125+
[[UUIDs]]
126+
deps = ["Random", "SHA"]
127+
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
128+
129+
[[Unicode]]
130+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

docs/Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
4+
5+
[compat]
6+
Documenter = "~0.20"

docs/make.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ makedocs(
1313
)
1414

1515
deploydocs(
16-
julia = "nightly",
1716
repo = "github.com/JuliaMath/SpecialFunctions.jl.git",
1817
target = "build",
19-
deps = nothing,
20-
make = nothing,
2118
)

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ libraries.
4747
| [`besselkx(nu,z)`](@ref SpecialFunctions.besselkx) | scaled modified Bessel function of the second kind of order `nu` at `z` |
4848
| [`gamma(x)`](@ref SpecialFunctions.gamma) | [gamma function](https://en.wikipedia.org/wiki/Gamma_function) at `x` |
4949
| [`lgamma(x)`](@ref SpecialFunctions.lgamma) | accurate `log(gamma(x))` for large `x` |
50-
| [`lfact(x)`](@ref SpecialFunctions.lfact) | accurate `log(factorial(x))` for large `x`; same as `lgamma(x+1)` for `x > 1`, zero otherwise |
50+
| [`lfactorial(x)`](@ref SpecialFunctions.lfactorial) | accurate `log(factorial(x))` for large `x`; same as `lgamma(x+1)` for `x > 1`, zero otherwise |
5151
| [`beta(x,y)`](@ref SpecialFunctions.beta) | [beta function](https://en.wikipedia.org/wiki/Beta_function) at `x,y` |
5252
| [`lbeta(x,y)`](@ref SpecialFunctions.lbeta) | accurate `log(beta(x,y))` for large `x` or `y` |
5353

docs/src/special.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ SpecialFunctions.eta
5050
SpecialFunctions.zeta
5151
SpecialFunctions.gamma
5252
SpecialFunctions.lgamma
53-
SpecialFunctions.lfact
53+
SpecialFunctions.lfactorial
5454
SpecialFunctions.beta
5555
SpecialFunctions.lbeta
5656
```

0 commit comments

Comments
 (0)