Commit Graph

  • 595b7d06f1 alias sb_read_file_alloc() master kamkow1 2025-06-25 13:54:52 +02:00
  • 6db36114d5 Fix leak in sb_read_file_alloc() kamkow1 2025-06-18 10:37:45 +02:00
  • c3be4ce8ee Allow RULE()s with 0 dependencies kamkow1 2025-06-18 01:50:36 +02:00
  • d8e1d54f3d Typo kamkow1 2025-06-16 00:51:00 +02:00
  • 2f9ff2e757 add cmd_run_async() kamkow1 2025-06-14 22:47:54 +02:00
  • 61e59e6550 Implement cmd_run_XXX variants for running via a file descriptor kamkow1 2025-06-09 20:10:46 +02:00
  • 9582176638 nsl_join for default allocator kamkow1 2025-06-09 14:32:12 +02:00
  • 692358fd8a Cleanup after logging command kamkow1 2025-06-09 14:29:38 +02:00
  • 579c2f34d9 alias nil to NULL kamkow1 2025-06-02 12:39:50 +02:00
  • 5724c8ffa8 Add sb_read_file() kamkow1 2025-06-01 23:34:31 +02:00
  • 0ce4a1018e Add shorter types, use nil macro kamkow1 2025-06-01 23:02:38 +02:00
  • 3cbe43eec4 Only care about POSIX platforms kamkow1 2025-06-01 21:36:35 +02:00
  • f2aa836d4f Remove old arena aliases without the prefix kamkow1 2025-06-01 13:31:17 +02:00
  • ed39351983 Rework the arena once again... kamkow1 2025-06-01 13:24:14 +02:00
  • dd74b7f78a Add an arena out-of-memory handler kamkow1 2025-06-01 12:47:40 +02:00
  • 5a1fe0521f Add quickstart kamkow1 2025-06-01 02:07:40 +02:00
  • 6a10cb2847 Add license kamkow1 2025-06-01 01:57:51 +02:00
  • 3636b08c10 Reimplement the arena kamkow1 2025-06-01 01:47:47 +02:00
  • a191abc2b7 Add RULE() macro for conviniently defining build rules kamkow1 2025-05-31 23:20:41 +02:00
  • 214b2d8a67 Stripping prefixes kamkow1 2025-05-30 13:47:07 +02:00
  • 3872c0d746 Regenerate compile_flags.txt when build program changes kamkow1 2025-05-25 22:56:27 +02:00
  • fe2c4f1cf7 Auto generate compile_flags.txt for clang tools kamkow1 2025-05-25 22:48:37 +02:00
  • aad54edf84 gebs_cmd_run_collect() for collecting command output, Add examples/commands.c kamkow1 2025-05-25 22:01:26 +02:00
  • 11e3ee039a Add GEBS_SHIFT() macro, pass commandline arguments to self after rebuild, add build dep on gebs.h kamkow1 2025-05-20 23:21:09 +02:00
  • 206b1c4f0a Add gebs_scratch_arena_reset() kamkow1 2025-05-20 00:08:02 +02:00
  • c015a4d861 Implement gebs_fmt() as a function kamkow1 2025-05-20 00:06:05 +02:00
  • c1e0a5ec35 Account for realloc moving the memory in gebs_arena_realloc() kamkow1 2025-05-19 23:55:14 +02:00
  • 78732d1aef gebs_needs_rebuild_many() macro kamkow1 2025-05-19 14:20:10 +02:00
  • dbe1af7125 Scratch arena, in-place temporary gebs_fmt() macro kamkow1 2025-05-19 14:09:07 +02:00
  • c905379d14 Restructure project, add gebs_exists() and gebs_mkdir() kamkow1 2025-05-19 12:25:08 +02:00
  • 0087c523b5 GEBS_CMD() convinience macro kamkow1 2025-05-19 11:44:52 +02:00
  • 6cbfd5ca91 Self rebuilding kamkow1 2025-05-19 00:48:18 +02:00