14 Commits
Author SHA1 Message Date
bdnugget d4da446087 Fix emsdk.shell arg in project templates (raylib-zig#331) 2026-05-05 00:08:14 +02:00
Nikolasandhaxsam 3cd4d3179d Bundle raylib artifact with raylib module
Co-authored-by: haxsam <haxsam@pm.me>
2025-10-30 22:21:33 +01:00
Nikolas ed42d5dbdc Cleanup embed paths for emsdk 2025-08-31 16:57:11 +02:00
Nikolas c5d9cf405d Fix project templates (#278) 2025-08-31 16:55:14 +02:00
haxsam b44a355a81 [build.zig]: a concrete approach to build for web 2025-08-31 16:42:21 +02:00
Nikolas 3c33e0469f Format project templates 2025-08-25 15:47:31 +02:00
stanchyk7 55937dd8a9 Update project_setup.ps1 for Zig 0.15.1 2025-08-25 15:43:44 +02:00
Nikolas b7d89cb7b9 Repository move 2025-08-07 21:27:11 +02:00
Maicon Santana 97cb212bf0 remove emrun from emcc to avoid the game to keep calling stdio.html (#238)
* remove emrun from emcc to avoid the game to keep calling stdio.html

* Remove formater

* Add --emrun for examples and templates
2025-06-27 13:24:07 +02:00
Nikolas 9444b5a438 Use zig init in project template 2025-03-06 15:14:45 +01:00
Daniel Koucher Machado de8c2d4585 Automatically include Emscripten headers (#173)
* add emscripten headers

* update func to return error
2024-11-26 20:18:33 +01:00
Jonathan MarlerandNot-Nik 94570c4b60 fix zig fetch command in README (#130)
* fix zig fetch command in README

All URLs within build.zig.zon files must point to archives that never
change.  However, the zig fetch command in the README.md adds a URL
that points to the `devel` git branch whose content changes whenever
the `devel` branch is updated.

I've updated the README a url that zig will resolve to a SHA before it
writes it to the zon file.

* Update template scripts

---------

Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-11-25 14:19:38 +01:00
pancelor 6418a87091 Tidying (#150)
create resources folder during project_setup, and link with emscripten

--embed-file complained b/c the directory was empty, so I added
resources/placeholder.txt

I tested project_setup.sh (but not project_setup.ps1) -- the emscripten
build works

also, s/std.builtin.Mode/std.builtin.OptimizeMode
(std.builtin.Mode's source says: "///Deprecated; use OptimizeMode.")
2024-09-28 14:55:09 +02:00
Dawid Jankowiak 18a7daa631 Add project setup script for Windows (#107) 2024-06-24 11:26:18 +02:00