nant(1)

πŸ“¦ version 0.92~rc1, in ubuntu jammy

πŸ’– nant(1) β€” the manual, but make it make sense πŸ’–

okay so bestie, this is the manual page for nant, from the General Commands Manual section of the man pages. It's giving classic. It's giving 2005. Let's get into it 🫢


✨ NAME ✨

NAnt β€” a .NET build tool that's similar to Ant πŸ’…


✨ SYNOPOSIS ✨

(no bestie, I didn't typo that, that's literally what the section is called, we don't make the rules 🌸)

nant [OPTIONS] <target> ...

✨ DESCRIPTION ✨

So NAnt is a .NET build tool, and it's similar to Ant. Iconic behavior.

The whole build environment gets configured using an XML file, and it gets extended using .Net classes β€” not by executing a bunch of separate shell-based commands like some kind of gremlin. Every single task is run by an object that implements a particular Task interface. That's the whole vibe. πŸ¦‹


✨ COMMON OPTIONS ✨

these are the ones you'll actually be reaching for, the main character options πŸ‘‘

  • -t[argetframework]:<text> β€” specifies the framework to target 🎯
  • -defaultframework:<text> β€” also specifies the framework to target (short format: /k)
  • -buildfile:<text> β€” use the given buildfile (short format: /f)
  • -D:<name>=<value> β€” use value for the given property
  • @<file> β€” pull your command-line settings in from a text file, lowkey genius πŸ“„
heads up bestie: if you don't specify a buildfile at all, a file ending in .build gets used instead. no cap. 🌈

✨ OTHER OPTIONS ✨

the deep cuts. the lore. read them all, I'm not summarising, we don't skip πŸ’€

  • -debug[+|-] β€” displays debug information while the build process is running
  • -e[macs][+|-] β€” produces logging information, but without adornments (stripped down, minimal, clean ✨)
  • -ext[ension]:<text> β€” loads NAnt extensions from the assembly you specify
  • -find[+|-] β€” searches parent directories looking for the build file πŸ”
  • -h[elp][+|-] β€” prints a help message that summarises the options
  • -indent:<number> β€” sets the indentation level of the build output
  • -l[ogfile]:<filename> β€” uses the value you give as the name of the log output file
  • -listener:<text> β€” adds an instance of a class as a project listener
  • -logger:<text> β€” uses the given type as the logger
  • -nologo[+|-] β€” suppresses the display of the logo banner 🚫
  • -projecthelp[+|-] β€” prints project help information
  • -q[uiet][+|-] β€” displays only error or warning messages during the build process 🀫
  • -v[erbose][+|-] β€” displays more information during the build process πŸ—£οΈ

✨ SEE ALSO ✨

  • the NAnt Project web site: http://nant.sourceforge.net/ 🌐
  • Man page by Dave Beckett, made available under the same terms as NAnt 🫢

and that's the whole page bestie!! this manual is dated 2005-05-16, it lives in the General Commands Manual section under nant(1), and honestly? she ate. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from