Fixed upload

This commit is contained in:
Schmidt Peter
2026-05-21 14:31:05 +02:00
committed by GitHub
parent 65e7c86424
commit 41d2ebfb50
3 changed files with 32 additions and 10 deletions
+15 -10
View File
@@ -1,4 +1,4 @@
# gbuild — C rewrite # gbuild
A C rewrite of the original [gbuild](https://spdlab.hu/gbuild) bash tool. A C rewrite of the original [gbuild](https://spdlab.hu/gbuild) bash tool.
Clone, pull, pick a target, build — all from one command. Clone, pull, pick a target, build — all from one command.
@@ -18,20 +18,25 @@ Clone, pull, pick a target, build — all from one command.
## Dependencies ## Dependencies
| Library | Purpose | Install (Debian/Ubuntu) | | Library | Purpose |
|----------|------------------------------|------------------------------| |----------|------------------------------|
| ncurses | TUI for picker & log browser | `sudo apt install libncurses-dev` | | ncurses | TUI for picker & log browser |
| git | Clone / pull | `sudo apt install git` | | git | Clone / pull |
| make | Build projects | `sudo apt install make` | | make | Build projects |
| less | Open logs from browser | `sudo apt install less` | | less | Open logs from browser |
--- ---
## Build ## Build
### Linux
```sh ```sh
# Install ncurses dev headers if needed # Install these packages with your package manager
sudo apt install libncurses-dev libncurses-dev make
# Clone this repository
git clone https://github.com/jokerz/gbuild.git
# Build both binaries into bin/ # Build both binaries into bin/
make make
@@ -65,7 +70,7 @@ gbuild myproject
[git] [git]
GIT_URL = http://localhost:3000 GIT_URL = http://localhost:3000
GIT_USER = jokerz GIT_USER = Username
[auth] [auth]
# Use token-based OR password-based auth; leave the other blank # Use token-based OR password-based auth; leave the other blank
+9
View File
@@ -1,3 +1,12 @@
/*
This file is licensed under the MIT license.
Copyright (c) Schmidt Peter Daniel 2026
*/
#include "config.h" #include "config.h"
#include <stdio.h> #include <stdio.h>
+8
View File
@@ -1,3 +1,11 @@
/*
This file is licensed under the MIT license.
Copyright (c) Schmidt Peter Daniel 2026.
*/
#include "git_ops.h" #include "git_ops.h"
#include "config.h" #include "config.h"