mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
make test-install should be easier to clean.
This commit is contained in:
parent
8194f5ccaf
commit
1add0c7d43
10
Makefile
10
Makefile
@ -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
|
||||||
|
1
test/install/.gitignore
vendored
1
test/install/.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
/build
|
/build
|
||||||
|
/modpath
|
||||||
.cache
|
.cache
|
||||||
.manifests
|
.manifests
|
||||||
json.*
|
json.*
|
||||||
|
Loading…
Reference in New Issue
Block a user