Skip to content

Commit

Permalink
Rename: Run.runproject -> Run.script
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jul 3, 2019
1 parent 8c0d835 commit ccec4ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function prepare(projectpath; precompile=true, parentproject=nothing)
return Result("preparation finished", run(cmd))
end

function runproject(
function script(
script;
prepare::Bool = true,
fast::Bool = false,
Expand Down Expand Up @@ -174,11 +174,11 @@ function _test_options(;
)
end

test(path="test"; kwargs...) = runproject(
test(path="test"; kwargs...) = script(
joinpath(path, "runtests.jl");
_test_options(; kwargs...)...
)
docs(path="docs"; kwargs...) = runproject(joinpath(path, "make.jl"); kwargs...)
docs(path="docs"; kwargs...) = script(joinpath(path, "make.jl"); kwargs...)


function after_success_test()
Expand Down

0 comments on commit ccec4ca

Please sign in to comment.