coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hack on one of the coreutils programs


From: Bernhard Voelker
Subject: Re: Hack on one of the coreutils programs
Date: Mon, 01 Jun 2015 08:00:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 05/31/2015 09:17 PM, Pádraig Brady wrote:
> On 31/05/15 18:15, Tomas Nordin wrote:
>> I get confused about this, if not for else because all those utils are
>> already on my system, so I guess I don't want to make a full install of
>> the play code for trying it out.
> 
> Off the top of my head:
> 
>  git clone --depth=1 git://git.sv.gnu.org/coreutils.git
>  cd coreutils
>  ./bootstrap && ./configure --quiet && make -j$(nproc)
>  git checkout -b my-branch
>  vim src/ls.c
>  make
>  # make install # to install to /usr/local/... by default
>  # (which is adjustable with ./configure options).
> 
> See also:
> http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=README-hacking;hb=HEAD
> 
> If looking to send changes back upstream for inclusion see:
> http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob;f=HACKING;hb=HEAD

Regarding testing: you can run "make syntax-check" to see whether
your changes comply with our coding standards; and you can run the
testsuite with "make check" (or more of it with "make check-expensive"
or "make check-very-expensive") to see if you introduced a regression.
Finally you can add your own test case to the "tests/".

Have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]