25 Commits

Author SHA1 Message Date
Jonathan Marler
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
Sebastian Keller
e09c34d64d
Update project_setup.sh to work with zig 0.13.0 (#105) 2024-06-17 22:45:49 +02:00
Not-Nik
c0d07991d1
Merge raymath and rlgl into main raylib module 2024-06-05 22:56:07 +02:00
Not-Nik
a0126d15be
BREAKING: rename raylib-math module to raymath 2024-05-31 20:27:48 +02:00
Not-Nik
3a18a355e3
Automatically fetch hash in project setup 2024-05-15 22:36:08 +02:00
Not-Nik
a85122eabe
Update project setup to use raylib-zig's emcc instead of copying it 2024-05-03 22:36:54 +02:00
Nikolas
ae751ce82e
Bump to Zig 0.12/raylib 5.1-dev (#81)
* Update to Zig 0.12.0 and raylib 5.1-dev

* More build.zig fixes for 0.12

* Get module with target and optimization

* Add examples to build step when compiling for emscripten

* Remove unused function

* Add build.* and emcc.zig to the zon paths (#83)

As per some info found through https://github.com/ziglang/zig/issues/18282,
this is apparently necessary to use this library as a dependency.

Co-authored-by: Drum Ogilvie <me@daogilvie.com>

* Update binding
2024-04-28 23:46:51 +02:00
Not-Nik
8136c8ee92
Update project setup script 2024-04-14 22:47:29 +02:00
Not-Nik
0e9d003926
Set version 2024-04-07 22:54:34 +02:00
Not-Nik
433c170c02
Update project setup script to use raylib-zig as a dependency, instead of cloning the entire repo 2024-04-03 19:37:10 +02:00
Travis Staloch
906f19afc4 fix project_setup.sh for zig version 0.12.0-dev.1849+bb0f7d55e 2024-03-22 19:00:37 -07:00
StalinGD
62010ca3a9 fix wrong getArtifact function invocation in setup script 2024-02-02 16:37:53 +03:00
Blue
977d305714 some final changes 2023-08-16 13:06:02 -06:00
Blue
7d62be63e2 small modification to emscripten build 2023-08-14 00:09:46 -06:00
Blue
1c142efe55 fix project errors 2023-08-14 00:03:25 -06:00
Blue
c4de1da7b1 fix issue 2023-08-13 23:53:13 -06:00
Blue
de4918cb56 major refactor ohw web build system 2023-08-13 23:52:52 -06:00
Blue
7c296e8667 add updateTargetForWeb back 2023-08-11 11:36:44 -06:00
Blue
7c40bb6176 fix compile error in project setup 2023-08-11 11:00:40 -06:00
Blue
5efb75c291 project buils based on target instead of webexport 2023-08-11 10:57:27 -06:00
Blue
7a0d397baf add web support using Emscripten 2023-08-11 00:44:28 -06:00
Not-Nik
ec45e33189
Update project setup script 2023-08-05 20:29:36 +02:00
Jake Chvatal
2282f85003
project_setup.sh: support more unix systems 2023-04-16 23:56:10 +02:00
Not-Nik
1e06706bff
Update to 4.5-dev 2023-01-23 22:07:43 +01:00