mirror of
https://github.com/janet-lang/janet
synced 2025-01-13 00:50:26 +00:00
Fix test-install after removing cook.
This commit is contained in:
parent
58ffb9d7a5
commit
05695a35c7
8
Makefile
8
Makefile
@ -329,8 +329,12 @@ clean:
|
|||||||
-rm -rf build vgcore.* callgrind.*
|
-rm -rf build vgcore.* callgrind.*
|
||||||
|
|
||||||
test-install:
|
test-install:
|
||||||
cd test/install && rm -rf build .cache .manifests && jpm --verbose build && jpm --verbose test \
|
cd test/install \
|
||||||
&& build/testexec
|
&& rm -rf build .cache .manifests \
|
||||||
|
&& jpm --verbose build \
|
||||||
|
&& jpm --verbose test \
|
||||||
|
&& build/testexec \
|
||||||
|
&& jpm --verbose --modpath=. install https://github.com/janet-lang/json.git
|
||||||
|
|
||||||
build/embed_janet.o: build/janet.c $(JANET_HEADERS)
|
build/embed_janet.o: build/janet.c $(JANET_HEADERS)
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
@ -172,6 +172,10 @@ call jpm clean
|
|||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTFAIL
|
||||||
call jpm test
|
call jpm test
|
||||||
@if errorlevel 1 goto :TESTFAIL
|
@if errorlevel 1 goto :TESTFAIL
|
||||||
|
call jpm --verbose --modpath=. install https://github.com/janet-lang/json.git
|
||||||
|
@if errorlevel 1 goto :TESTFAIL
|
||||||
|
call build\testexec
|
||||||
|
@if errorlevel 1 goto :TESTFAIL
|
||||||
popd
|
popd
|
||||||
exit /b 0
|
exit /b 0
|
||||||
|
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
(import build/testmod :as testmod)
|
(import build/testmod :as testmod)
|
||||||
|
|
||||||
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))
|
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))
|
||||||
|
|
||||||
(import cook)
|
|
||||||
|
|
||||||
(with-dyns [:modpath (os/cwd)]
|
|
||||||
(cook/install-git "https://github.com/janet-lang/json.git"))
|
|
||||||
|
Loading…
Reference in New Issue
Block a user