mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 16:00:27 +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.*
|
||||
|
||||
test-install:
|
||||
cd test/install && rm -rf build .cache .manifests && jpm --verbose build && jpm --verbose test \
|
||||
&& build/testexec
|
||||
cd test/install \
|
||||
&& 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)
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
@ -172,6 +172,10 @@ call jpm clean
|
||||
@if errorlevel 1 goto :TESTFAIL
|
||||
call jpm test
|
||||
@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
|
||||
exit /b 0
|
||||
|
||||
|
@ -1,8 +1,3 @@
|
||||
(import build/testmod :as testmod)
|
||||
|
||||
(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