Compare commits

...

2 Commits

Author SHA1 Message Date
8761d6867c Add dev env setup 2025-12-04 20:55:27 +01:00
Martin Petr
f2b5e17856 Merge pull request #1 from MartinGamesCZ/dev-efi-port
Switch to EFI version
2025-12-04 19:07:03 +01:00
4 changed files with 15 additions and 1 deletions

3
.gitignore vendored
View File

@@ -2,4 +2,5 @@ old/
out/ out/
node_modules/ node_modules/
*.iso *.iso
*.img *.img
.clangd

View File

@@ -36,6 +36,12 @@ st run build
The built ISO can be found in `out/` directory. The built ISO can be found in `out/` directory.
## How to setup development environment?
```bash
./src/scripts/setup_dev.sh
```
## If you are an employer looking at this... ## If you are an employer looking at this...
I would appreciate if you messaged me and gave me some well-paid job. Also... I would appreciate if you messaged me and gave me some well-paid job. Also...

View File

@@ -0,0 +1,6 @@
CompileFlags:
CompilationDatabase: .
Add:
- "-I%%workspaceFolder%%/src/core/compat"
- "-I%%workspaceFolder%%/src/lib/quickjs"
- "-I%%workspaceFolder%%/out/system"

1
src/scripts/setup_dev.sh Executable file
View File

@@ -0,0 +1 @@
cp ./src/scripts/dev-setup/default.clangd .clangd && sed -i.bak "s|%%workspaceFolder%%|$(pwd)|g" .clangd && rm .clangd.bak