1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-24 23:40:27 +00:00

Generated files go to the same location on win32.

This commit is contained in:
Calvin Rose 2019-01-26 17:33:30 -05:00
parent 68e00cdb7a
commit ee5fa54134
2 changed files with 4 additions and 7 deletions

View File

@ -30,15 +30,15 @@ mkdir build\mainclient
@if errorlevel 1 goto :BUILDFAIL
@rem Generate the embedded sources
@build\xxd.exe src\core\core.janet build\core\core.gen.c janet_gen_core
@build\xxd.exe src\core\core.janet build\core.gen.c janet_gen_core
@if errorlevel 1 goto :BUILDFAIL
@build\xxd.exe src\mainclient\init.janet build\mainclient\init.gen.c janet_gen_init
@build\xxd.exe src\mainclient\init.janet build\init.gen.c janet_gen_init
@if errorlevel 1 goto :BUILDFAIL
@rem Build the generated sources
@%JANET_COMPILE% /Fobuild\core\core.gen.obj build\core\core.gen.c
@%JANET_COMPILE% /Fobuild\core\core.gen.obj build\core.gen.c
@if errorlevel 1 goto :BUILDFAIL
@%JANET_COMPILE% /Fobuild\mainclient\init.gen.obj build\mainclient\init.gen.c
@%JANET_COMPILE% /Fobuild\mainclient\init.gen.obj build\init.gen.c
@if errorlevel 1 goto :BUILDFAIL
@rem Build the sources

View File

@ -6,9 +6,6 @@
(defn dofile
"Print one file to stdout"
[path]
(def path (if (= (os/which) :windows)
(string/replace "/" "\\" path)
path))
(print (slurp path)))
# Order is important here, as some headers