Không có mô tả

rexim 7c7e3f4800 Fix some links 1 năm trước cách đây
.github 61dc17340c Ready. Set. Go! 5 năm trước cách đây
examples c2d67ab0f8 Implement PATH_EXISTS 4 năm trước cách đây
tools 9c638c58c0 Implement cat tool to better test the pipes 5 năm trước cách đây
.gitignore bddad27087 Implement GO_REBUILD_URSELF 4 năm trước cách đây
ChangeLog.md 6fcbdb3e34 FOREACH_VARGS_TYPE -> FOREACH_VARGS_CSTR 5 năm trước cách đây
LICENSE 61dc17340c Ready. Set. Go! 5 năm trước cách đây
README.md 7c7e3f4800 Fix some links 1 năm trước cách đây
nobuild.c bddad27087 Implement GO_REBUILD_URSELF 4 năm trước cách đây
nobuild.h 20f91e84ef This results in compiler warnings 2 năm trước cách đây

README.md

nobuild

Header only library for writing build recipes in C.

[!WARNING] This library is DEPRECATED! Use https://github.com/tsoding/nob.h instead

How to use the library in your own project

Keep in mind that nobuild.h is an stb-style header-only library. That means that just including it does not include the implementations of the functions. You have to #define NOBUILD_IMPLEMENTATION before the include. See our nobuild.c for an example.

  1. Copy nobuild.h to your project
  2. Create nobuild.c in your project with the build recipe. See our nobuild.c for an example.
  3. Bootstrap the nobuild executable:
    • $ cc nobuild.c -o nobuild on POSIX systems
    • $ cl.exe nobuild.c on Windows with MSVC
  4. Run the build: $ ./nobuild

If you enable the Go Rebuild Urself™ Technology the nobuild executable will try to rebootstrap itself every time you modify its source code.