docs: update the Git clone command in README

This commit is contained in:
Dorian Niemiec 2024-09-16 05:14:33 +02:00
parent 84d19588ea
commit 8077cb89d3

2
README
View file

@ -8,7 +8,7 @@ To fix and beautify SVR.JS mod code with ESLint and Prettier, run "npm run lint:
To perform unit tests with Jest, run "npm test".
To test the mod:
1. Clone the SVR.JS repository with "git clone https://git.svrjs.org/svrjs/svrjs.git -b next" command.
1. Clone the SVR.JS repository with "git clone https://git.svrjs.org/svrjs/svrjs.git" command.
2. Change the working directory to "svrjs" using "cd svr.js".
3. Build SVR.JS by first running "npm install" and then running "npm run build".
4. Copy the mod into mods directory in the dist directory using "cp ../dist/mod.js dist/mods" (GNU/Linux, Unix, BSD) or "copy ..\dist\mod.js dist\mods" (Windows).