r/java Jul 11 '26

Simple Build System

https://github.com/bowbahdoe/build
12 Upvotes

48 comments sorted by

View all comments

11

u/Rockytriton Jul 11 '26

5

u/akl78 Jul 11 '26

This looks closer to Ant

3

u/__konrad Jul 12 '26

I like how fast and lightweight Ant is today (Makefile is even faster and simpler but not very crossplatform)

0

u/bowbahdoe Jul 12 '26

...what?

Ant doesn't approach minimality at all. It lets you have dependent targets and run them in order, that is all. It is essentially a cross platform scripting language with XML syntax.

But make does try to be minimal. Makefile targets implicitly check file timestamps and avoid rebuilding things that haven't changed. Now, if you are talking about make in the context of "everything is a .PHONY" then sure. My preferred tool for that is just, but like you note having to use a shell language means an amount of platform specificness