mirror of
https://github.com/Zygo/bees.git
synced 2025-06-17 01:56:16 +02:00
build: move BEES_VERSION to a separate C file to avoid unnecessary building
Every git commit was causing bees.cc and bees-hash.cc to be rebuilt, which was expensive and unnecessary. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -819,6 +819,7 @@ public:
|
||||
};
|
||||
|
||||
// And now, a giant pile of extern declarations
|
||||
extern const char *BEES_VERSION;
|
||||
string pretty(double d);
|
||||
extern RateLimiter bees_info_rate_limit;
|
||||
void bees_sync(int fd);
|
||||
|
Reference in New Issue
Block a user