Ryan Skraba created AVRO-3864:
---------------------------------
Summary: [Build] Do a better clean based on the .gitignore file
Key: AVRO-3864
URL: https://issues.apache.org/jira/browse/AVRO-3864
Project: Apache Avro
Issue Type: Bug
Reporter: Ryan Skraba
>From https://github.com/apache/avro/pull/2500 (Thanks [~zoltan_csizmadia]!)
If all of the target binaries and built files are included in the .gitignore
file, then *git clean -dXf* will remove them (note the capital X). This could
be a better way to make sure the build directory doesn't have any left over
residue from previous dev work.
The only downside to using git as "The Source of Clean" is that **./build.sh
clean** when building from the source tar.gz (without git) wouldn't work. That
doesn't really bother me too much, as long as **./build.sh dist** works from
the source tar.
Maybe this might be best applied in **./build.sh veryclean** or just remove the
*clean* target to this script entirely and document this better way?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)