Skip to content

Commit 221e70c

Browse files
authored
modify Makefile (#256)
1 parent c7a3483 commit 221e70c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ JULIA:=julia
22

33
default: help
44

5-
docs:
6-
${JULIA} --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
7-
${JULIA} --project=docs docs/make.jl
8-
95
format:
106
${JULIA} -e 'using JuliaFormatter; format(".")'
117

128
test:
139
${JULIA} --project -e 'using Pkg; Pkg.resolve(); Pkg.test()'
1410

11+
docs:
12+
${JULIA} --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
13+
${JULIA} --project=docs docs/make.jl
14+
1515
all: format test docs
1616

1717
help:
1818
@echo "The following make commands are available:"
19-
@echo " - make docs: instantiate and build the documentation"
2019
@echo " - make format: format codes with JuliaFormatter"
2120
@echo " - make test: run the tests"
22-
@echo " - make all: run every commands above"
21+
@echo " - make docs: instantiate and build the documentation"
22+
@echo " - make all: run every commands in the above order"
2323

24-
.PHONY: default docs format test all help
24+
.PHONY: default format test docs all help

0 commit comments

Comments
 (0)