Just a funny thought I had because of a typo I kee...
# general
c
Just a funny thought I had because of a typo I keep making repeatedly, when I build my first guess is to run
pants build <target>
but even though this is called
pantsbuild
there's actually no
pants build
but
pants package
Just thought this was funny
p
You can create an alias in pants.toml so that build = package 🙂 (search the docs for alias, I haven’t used it much so I don’t recall the syntax off the top of my head)
c
Oh I'll just adapt to the CLI over time, can always bash alias if we have too
c
Copy code
# pants.toml
[cli.alias]
build = "package"
😉
h
I think we actually discussed this at one point and concluded that "build" was too vague a word to be a goal. It's all "build" in some sense...
c
I'll still stick to adapting to the CLI, good to know about aliases within the pants build system though. Just a funny observation