diff --git a/README.md b/README.md index 5cc370c4c9..39b67ac995 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ If you want to develop this package do the following steps: - Make a fork and then clone the repo locally on your computer - Change the current directory to the Pkg repo you just cloned and start julia with `julia --project`. - `import Pkg` will now load the files in the cloned repo instead of the Pkg stdlib. -- To test your changes, simply do `include("test/runtests.jl")`. +- To test your changes, simply do `Pkg.test()`. If you need to build Julia from source with a Git checkout of Pkg, then instead use `make DEPS_GIT=Pkg` when building Julia. The `Pkg` repo is in `stdlib/Pkg`, and created initially with a detached `HEAD`. If you're doing this from a pre-existing Julia repository, you may need to `make clean` beforehand.