From 618176d4ba4bff9716122eb474490ea7daf228d4 Mon Sep 17 00:00:00 2001 From: "Dr. Rubisco" <76263371+thedocruby@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:37:53 -0500 Subject: [PATCH] Migrate example to git submodule --- .gitmodules | 3 +++ Cargo.toml | 1 + README.md | 9 ++++++--- gravylib_example | 1 + 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 gravylib_example diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..91e7faf --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "gravylib_example"] + path = gravylib_example + url = https://github.com/srclabs/gravylib_example diff --git a/Cargo.toml b/Cargo.toml index 9672790..d7e0e29 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -38,6 +38,7 @@ spirv-builder = { version = "=0.9.0", features = ["watch"] } [workspace] resolver = "2" members = ["gravylib_helpers", "gravylib_macros"] +exclude = ["gravylib_example/runner", "gravylib_example/shader"] # See rustc_codegen_spirv/Cargo.toml for details on these features [features] diff --git a/README.md b/README.md index 84197fa..bab2a6c 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ But it doesn't end there. Gravy empowers the devs of today to create the **digit ## Where do I start? -If you would like to try it out, head over to the [official example repo](https://github.com/thedocruby/gravylib_example) for a tutorial of sorts. +If you would like to try it out, head over to the [official example](gravylib_example) for a tutorial of sorts. **_However_**, this project is still a **Work In Progress**: The structure and API are in a highly fluid state and are constantly being reworked. Keep this in mind before starting any big projects with `gravylib`. -To learn more about the project, you can join the [**Discord**](https://discord.gg/7cBw5KHe6q). + ## How can I help? @@ -47,7 +47,10 @@ As stated above, the structure is constantly changing, so Pull Requests are disc - [x] Use macros to reduce boilerplate - [x] Upgrade wgpu version - [x] Upgrade winit version -- [x] Isolate examples (they live [here](https://github.com/thedocruby/gravylib_example) now) +- [x] Isolate examples (they live [here](https://github.com/srclabs/gravylib_example) now) + - [x] Add back as a git submodule :P +- [x] Start a company (lolol, welcome to `_src`! [Website](https://srclabs.dev) | [GitHub](https://github.com/srclabs)) +- [ ] Reprinciple backend - [ ] Implement hot reloading - [ ] Basic image buffer support - [ ] More examples from shadertoy diff --git a/gravylib_example b/gravylib_example new file mode 160000 index 0000000..cee7e6e --- /dev/null +++ b/gravylib_example @@ -0,0 +1 @@ +Subproject commit cee7e6e056127033cf1f2e1e5c537b7ae72ccc56