1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

make test-install should be easier to clean.

This commit is contained in:
Calvin Rose 2020-05-09 10:30:09 -05:00
parent 8194f5ccaf
commit 1add0c7d43
2 changed files with 7 additions and 4 deletions

View File

@ -290,6 +290,7 @@ build/janet.tmLanguage: tools/tm_lang_gen.janet $(JANET_TARGET)
clean: clean:
-rm -rf build vgcore.* callgrind.* -rm -rf build vgcore.* callgrind.*
-rm -rf test/install/build test/install/modpath
test-install: test-install:
cd test/install \ cd test/install \
@ -299,10 +300,11 @@ test-install:
&& build/testexec \ && build/testexec \
&& jpm --verbose quickbin testexec.janet build/testexec2 \ && jpm --verbose quickbin testexec.janet build/testexec2 \
&& build/testexec2 \ && build/testexec2 \
&& jpm --verbose --testdeps --modpath=. install https://github.com/janet-lang/json.git && mkdir -p modpath \
cd test/install && jpm --verbose --test --modpath=. install https://github.com/janet-lang/jhydro.git && jpm --verbose --testdeps --modpath=./modpath install https://github.com/janet-lang/json.git
cd test/install && jpm --verbose --test --modpath=. install https://github.com/janet-lang/path.git cd test/install && jpm --verbose --test --modpath=./modpath install https://github.com/janet-lang/jhydro.git
cd test/install && jpm --verbose --test --modpath=. install https://github.com/janet-lang/argparse.git cd test/install && jpm --verbose --test --modpath=./modpath install https://github.com/janet-lang/path.git
cd test/install && jpm --verbose --test --modpath=./modpath install https://github.com/janet-lang/argparse.git
.PHONY: clean install repl debug valgrind test \ .PHONY: clean install repl debug valgrind test \
valtest emscripten dist uninstall docs grammar format valtest emscripten dist uninstall docs grammar format

View File

@ -1,4 +1,5 @@
/build /build
/modpath
.cache .cache
.manifests .manifests
json.* json.*