On 2015-03-02 00:01,
jvp...@g.rit.edu wrote:
> This is mainly a design-philosophy question. In Make, I have two uses for
> always-run build commands: 1) to provide simple aliases for common
> ancillary actions, like running tests, which I naturally want to happen
> even if the build hasn't changed (e.g. to catch intermittent failures), and
> 2) as a way of running a script to determine if the build file needs
> regenerated.
>
> For the first case (running tests, etc), is this something that makes sense
> in a Ninja file? I know it's not specifically a part of what Ninja aims to
> do (provide for fast compilation), but it seems to be something that Ninja
> can provide almost for free, if you don't mind adding some slightly-hacky
> rules. I find that interacting with a single entry point for all of these
> common actions (build, test, package, install, etc) to be pretty
> convenient, but maybe Ninja experts have a better way? If so, I'd love to
> hear about it.
generate Ninja files. Presumably that means that there is a way to