Skip to content

Commit 602bf7d

Browse files
committed
Initial commit
0 parents  commit 602bf7d

File tree

18 files changed

+538
-0
lines changed

18 files changed

+538
-0
lines changed

.externals.zon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.{
2+
.externals = .{
3+
.{ .name = "minimal", .license = "LICENSE" },
4+
},
5+
}

.github/workflows/test.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Test
2+
3+
permissions:
4+
checks: write
5+
6+
on:
7+
pull_request:
8+
push:
9+
10+
concurrency:
11+
group: ${{ github.head_ref || github.run_id }}-${{ github.actor }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
validation:
16+
name: Validation
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 1
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
23+
- name: Install Zig
24+
uses: mlugg/setup-zig@v2
25+
26+
- name: Lint
27+
run: zig fmt --check . --exclude externals/
28+
29+
build:
30+
needs: ["validation"]
31+
strategy:
32+
fail-fast: false
33+
matrix:
34+
os:
35+
- ubuntu-latest
36+
- macos-latest
37+
- windows-latest
38+
timeout-minutes: 10
39+
runs-on: ${{matrix.os}}
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v4
43+
with:
44+
submodules: true
45+
46+
- if: runner.os == 'Linux'
47+
name: Prepare
48+
uses: awalsh128/cache-apt-pkgs-action@latest
49+
with:
50+
packages: libdbus-1-dev
51+
version: 1.0
52+
53+
- name: Install Zig
54+
uses: mlugg/setup-zig@v2
55+
56+
- name: Init
57+
shell: bash
58+
run: zig build init
59+
60+
- name: Build
61+
shell: bash
62+
run: zig build -Dexternals_optimize=Debug -Dwith_shaderc=false

.gitignore

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Build
2+
/build
3+
4+
# ZIG
5+
*zig-cache
6+
*zig-out
7+
8+
# VSCode
9+
10+
# MacOS
11+
*.DS_Store
12+
.DS_Store
13+
*.dylib
14+
15+
# Xcode
16+
*.pbxuser
17+
*.mode1v3
18+
*.mode2v3
19+
*.perspectivev3
20+
*.xcuserstate
21+
project.xcworkspace/
22+
xcuserdata/
23+
24+
kcov-output/
25+
26+
imgui.ini
27+
28+
_static.zig
29+
30+
# VSCode
31+
.vscode/launch.json
32+
.vscode/settings.json
33+
34+
# Fleet
35+
.fleet/settings.json
36+
.fleet/run.json
37+
38+
# Idea
39+
.idea/
40+
41+
# temp folder for tests
42+
/fixtures/tmp
43+
44+
# folder for generated tmp data, cache and debug purpose files
45+
.ct_temp
46+

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "externals/cetech1"]
2+
path = externals/cetech1
3+
url = https://github.com/cyberegoorg/cetech1.git

.ide.zon

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.{
2+
.launchers = .{
3+
.{ .name = "Run studio", .args = .{ "--asset-root", "content" } },
4+
.{ .name = "Run runner", .program = .runner, .args = .{ "--asset-root", "content" } },
5+
.{ .name = "Run max 5 tick", .args = .{ "--max-kernel-tick", "5", "--asset-root", "content" } },
6+
},
7+
}

.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1.0-a1

.vscode/extensions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"recommendations": [
3+
"ziglang.vscode-zig", // ZIG support
4+
"vadimcn.vscode-lldb", // Debugging support
5+
"Gruntfuggly.todo-tree", // Todo viewer
6+
"kdheepak.d2-markdown-preview", // D2 preview
7+
"oderwat.indent-rainbow", // Bring colors to life
8+
"MalcolmMielle.semantic-highlighting" // More colors to life
9+
]
10+
}

.zigversion

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.14.1

AUTHORS.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Authors
2+
3+
## Primary Authors
4+
5+
* __[Ondra Voves](https://github.com/OndraVoves)__
6+
7+
@OndraVoves is the current maintainer of the code and has written much of the
8+
current shitty/braindump code base.
9+
10+
## Other Contributors
11+
12+
The incomplete list of individuals below have provided patches or otherwise
13+
contributed to the project prior to the project being hosted on GitHub. See the
14+
GitHub commit log for a list of recent contributors. We would like to thank
15+
everyone who has contributed to the project in any way.

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2+
Version 2, December 2004
3+
4+
Copyright (C) 2024-2025 Ondra Voves
5+
6+
Everyone is permitted to copy and distribute verbatim or modified
7+
copies of this license document, and changing it is allowed as long
8+
as the name is changed.
9+
10+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12+
13+
1. You just DO WHAT THE FUCK YOU WANT TO.

0 commit comments

Comments
 (0)