From 4bcbf65b5b0ddf996f79e95fab92c4dc6025bc31 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sat, 8 Dec 2018 17:10:46 -0500 Subject: Update appveyor and windows build_win script. --- build_win.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build_win.bat') diff --git a/build_win.bat b/build_win.bat index a3cc3897..81892de2 100644 --- a/build_win.bat +++ b/build_win.bat @@ -12,6 +12,7 @@ @if "%1"=="help" goto HELP @if "%1"=="clean" goto CLEAN @if "%1"=="test" goto TEST +@if "%1"=="dist" goto DIST @rem Set compile and link options here @setlocal @@ -88,6 +89,17 @@ for %%f in (test/suite*.janet) do ( @if errorlevel 1 goto :TESTFAIL ) exit /b 0 + +@rem Build a dist directory +:DIST +mkdir dist +copy janet.exe dist\janet.exe +copy LICESNE dist\LICENSE +copy README.md dist\README.md +copy janet.lib dist\janet.lib +copy janet.exp dist\janet.exp +copy src\include\janet\janet.h dist\janet.h + :TESTFAIL @echo. @echo ******************************************************* -- cgit v1.2.3