tools-build

2022-02-12T01:22:28.385949Z

A general question on Tools. Suppose I run

Run with clj -T:build function-in-build
what’s the entry point function (main function) to use for the :build alias ?

2022-02-12T01:26:33.896559Z

I guess there might be no magic here. The function-in-build is directly executed

☝️ 1
seancorfield 2022-02-12T01:59:41.702559Z

@i it depends on what's in your :build alias

seancorfield 2022-02-12T02:00:39.912509Z

Normally you'd have :ns-default there specifying build as the default namespace.

seancorfield 2022-02-12T02:01:55.424929Z

So, no magic, that's how -X works too (-T does some slightly different class path stuff)