From commits-return-6382-archive-asf-public=cust-asf.ponee.io@nuttx.apache.org Fri Apr 3 11:51:50 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7A15418064F for ; Fri, 3 Apr 2020 13:51:50 +0200 (CEST) Received: (qmail 9887 invoked by uid 500); 3 Apr 2020 11:51:49 -0000 Mailing-List: contact commits-help@nuttx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nuttx.apache.org Delivered-To: mailing list commits@nuttx.apache.org Received: (qmail 9875 invoked by uid 99); 3 Apr 2020 11:51:49 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Apr 2020 11:51:49 +0000 From: GitBox To: commits@nuttx.apache.org Subject: [GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #701: testbuild.sh: Make the use of "git clean" optional Message-ID: <158591470978.18599.9214829421230650297.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Fri, 03 Apr 2020 11:51:49 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit xiaoxiang781216 commented on a change in pull request #701: testbuild.sh: Make the use of "git clean" optional URL: https://github.com/apache/incubator-nuttx/pull/701#discussion_r402950219 ########## File path: tools/README.txt ########## @@ -994,18 +994,26 @@ testbuild.sh $ ./testbuild.sh -h - USAGE: ./testbuild.sh [-l|m|c|u|g|n] [-d] [-x] [-j ] [-a ] [-t ] + USAGE: ./testbuild.sh [-l|m|c|u|g|n] [-d] [-x] [-j ] [-a ] [-t ] [-p] [-G] ./testbuild.sh -h Where: -l|m|c|u|g|n selects Linux (l), macOS (m), Cygwin (c), - Ubuntu under Windows 10 (u), or Windows native (n). Default Linux - -a provides the relative path to the apps/ directory. Default ../apps - -t provides the absolute path to top nuttx/ directory. Default $PWD/../nuttx - -p only print the list of configs without running any builds - -j passed on to make. Default: No -j make option + Ubuntu under Windows 10 (u), MSYS/MSYS2 (g) or Windows native (n). Default Linux -d enables script debug output -x exit on build failures + -j passed on to make. Default: No -j make option. + -a provides the relative path to the apps/ directory. Default ../apps + -t provides the absolute path to top nuttx/ directory. + Default $WD/../nuttx, where $WD is the parent directory of + the directory where this script is. + -p only print the list of configs without running any builds + -G Use "git clean -xfdq" instead of "make distclean" to clean the tree. Review comment: By default we use make distclean. if user add -G option, she/he should know the side effect. The help also indicate this: ``` -G Use "git clean -xfdq" instead of "make distclean" to clean the tree. This option may speed up the builds. However, note that: * This assumes that your trees are git based. * This assumes that only nuttx and apps repos need to be cleaned. * If the tree has files not managed by git, they will be removed as well. ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services