aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_win.bat
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2021-07-15 20:49:41 -0500
committerCalvin Rose <calsrose@gmail.com>2021-07-15 20:49:41 -0500
commit230b73466373a30e37a35030244ca2b9a11c6a5b (patch)
tree597b32319c9a2a8392f78c682ba4d4cd95750f51 /build_win.bat
parentMerge pull request #713 from yumaikas/fix-process-terminate-windows (diff)
Delete jpm and related testing from this repository.
JPM and related functionality has been moved to it's own repository and will be versioned separately from Janet. The distribution process could later be modified to bundle a version of jpm with Janet but this is perhaps not needed.
Diffstat (limited to 'build_win.bat')
-rw-r--r--build_win.bat29
1 files changed, 0 insertions, 29 deletions
diff --git a/build_win.bat b/build_win.bat
index 240a7389..5980cc46 100644
--- a/build_win.bat
+++ b/build_win.bat
@@ -14,7 +14,6 @@
@if "%1"=="test" goto TEST
@if "%1"=="dist" goto DIST
@if "%1"=="install" goto INSTALL
-@if "%1"=="test-install" goto TESTINSTALL
@if "%1"=="all" goto ALL
@rem Set compile and link options here
@@ -117,8 +116,6 @@ janet.exe tools\patch-header.janet src\include\janet.h src\conf\janetconf.h buil
copy build\janet.h dist\janet.h
copy build\libjanet.lib dist\libjanet.lib
-copy .\jpm dist\jpm
-
@rem Create installer
janet.exe -e "(->> janet/version (peg/match ''(* :d+ `.` :d+ `.` :d+)) first print)" > build\version.txt
janet.exe -e "(print (os/arch))" > build\arch.txt
@@ -147,32 +144,6 @@ FOR %%a in (janet-*-windows-*-installer.msi) DO (
)
exit /b 0
-@rem Test the installation.
-:TESTINSTALL
-pushd test\install
-call jpm clean
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call jpm test
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call jpm --verbose --modpath=. install https://github.com/janet-lang/json.git
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call build\testexec
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call jpm --verbose quickbin testexec.janet build\testexec2.exe
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call build\testexec2.exe
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call jpm --verbose --test --modpath=. install https://github.com/janet-lang/path.git
-@if errorlevel 1 goto :TESTINSTALLFAIL
-call jpm --verbose --test --modpath=. install https://github.com/janet-lang/argparse.git
-@if errorlevel 1 goto :TESTINSTALLFAIL
-popd
-exit /b 0
-
-:TESTINSTALLFAIL
-popd
-goto :TESTFAIL
-
@rem build, test, dist, install. Useful for local dev.
:ALL
call %0 build