9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Sean Hinchee <henesy.dev@gmail.com>
To: 9front@9front.org
Subject: Re: [9front] Re: Update system: Difference "mk nuke" and "mk clean"?
Date: Thu, 21 Apr 2022 01:51:09 -0700	[thread overview]
Message-ID: <CADmmOS8kFTCuVRuT7Mtq7eA_iOOAqz8K_bC9ELqx5O=XFRzaCQ@mail.gmail.com> (raw)
In-Reply-To: <c1b9524f-cffa-49ce-83cd-7892ef7c0cd2@sirjofri.de>

If you read the template mkfiles in /sys/src/cmd/ you can see the
difference between 'clean' and 'nuke':

for system libs:

for individual programs:

As sirjofri states, nuke will delete library targets and more files
than clean will.

To find out which template a given mkfile uses, refer to lines such as:



On Wed, Apr 20, 2022 at 10:07 AM sirjofri
<sirjofri+ml-9front@sirjofri.de> wrote:
> Hello,
> Afaik clean should just clean stuff in /sys/src while nuke also deletes
> library files in /$objtype/. At least, nuke touches stuff outside
> /sys/src.
> Hope this helps
> sirjofri

  reply	other threads:[~2022-04-21  8:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-11 17:41 [9front] " Benjamin Riefenstahl
2022-04-20 15:44 ` [9front] " Benjamin Riefenstahl
2022-04-20 17:05   ` sirjofri
2022-04-21  8:51     ` Sean Hinchee [this message]
2022-04-21 18:02       ` Benjamin Riefenstahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADmmOS8kFTCuVRuT7Mtq7eA_iOOAqz8K_bC9ELqx5O=XFRzaCQ@mail.gmail.com' \
    --to=henesy.dev@gmail.com \
    --cc=9front@9front.org \
    --subject='Re: [9front] Re: Update system: Difference "mk nuke" and "mk clean"?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).