File tree Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -120,13 +120,9 @@ jobs:
120
120
version : " 1"
121
121
- uses : julia-actions/julia-buildpkg@v1
122
122
- name : Set up documentation environment
123
- run : |
124
- using Pkg
125
- Pkg.develop(path=".")
126
- Pkg.instantiate()
127
- shell : julia --color=yes --project=docs/ {0}
123
+ run : make docs-manifest
128
124
- name : Build & deploy the documentation
129
- run : julia --color=yes --project= docs/ --code-coverage docs/make.jl
125
+ run : make docs
130
126
env :
131
127
DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
132
128
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ JULIA: =julia
2
+
3
+ help :
4
+ @echo " The following make commands are available:"
5
+ @echo " - make docs: build the documentation"
6
+ @echo " - make docs-environment: instantiate the docs environment"
7
+ @echo " - make test: run the tests"
8
+
9
+ docs/Manifest.toml : docs/Project.toml
10
+ @echo " Instantiating the docs/ environment:"
11
+ $(JULIA ) --color=yes --project=docs/ -e ' using Pkg; Pkg.develop(path="."); Pkg.instantiate()'
12
+
13
+ docs-manifest :
14
+ rm -f docs/Manifest.toml
15
+ $(MAKE ) docs/Manifest.toml
16
+
17
+ docs : docs/Manifest.toml
18
+ $(JULIA ) --project=docs/ docs/make.jl
19
+
20
+ test :
21
+ ${JULIA} --project -e ' using Pkg; Pkg.test()'
22
+
23
+ .PHONY : default docs-manifest docs test
You can’t perform that action at this time.
0 commit comments