mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +00:00
Generated files go to the same location on win32.
This commit is contained in:
parent
68e00cdb7a
commit
ee5fa54134
@ -30,15 +30,15 @@ mkdir build\mainclient
|
|||||||
@if errorlevel 1 goto :BUILDFAIL
|
@if errorlevel 1 goto :BUILDFAIL
|
||||||
|
|
||||||
@rem Generate the embedded sources
|
@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
|
@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
|
@if errorlevel 1 goto :BUILDFAIL
|
||||||
|
|
||||||
@rem Build the generated sources
|
@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
|
@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
|
@if errorlevel 1 goto :BUILDFAIL
|
||||||
|
|
||||||
@rem Build the sources
|
@rem Build the sources
|
||||||
|
@ -6,9 +6,6 @@
|
|||||||
(defn dofile
|
(defn dofile
|
||||||
"Print one file to stdout"
|
"Print one file to stdout"
|
||||||
[path]
|
[path]
|
||||||
(def path (if (= (os/which) :windows)
|
|
||||||
(string/replace "/" "\\" path)
|
|
||||||
path))
|
|
||||||
(print (slurp path)))
|
(print (slurp path)))
|
||||||
|
|
||||||
# Order is important here, as some headers
|
# Order is important here, as some headers
|
||||||
|
Loading…
Reference in New Issue
Block a user