diff --git a/README.asciidoc b/README.asciidoc index 149d56ee5ac..a04fbee23fc 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -328,6 +328,16 @@ Install files for packaging: make install DESTDIR=… ---- +Automatically tidy all perl files: +---- +tools/tidyall +---- + +Tidy all changed perl files: +---- +tools/tidyall --git +---- + Further notes: * When using the `test-perl-testsuite` target, `ctest` is not used (and therefore `ctest` diff --git a/xt/00-tidy.t b/xt/00-tidy.t deleted file mode 100755 index 0853e129b86..00000000000 --- a/xt/00-tidy.t +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/perl -# Copyright 2021 SUSE LLC -# SPDX-License-Identifier: GPL-2.0-or-later - -use Test::Most; -use Test::Code::TidyAll; -tidyall_ok(); diff --git a/xt/00-tidy.t b/xt/00-tidy.t new file mode 120000 index 00000000000..7fa43267f08 --- /dev/null +++ b/xt/00-tidy.t @@ -0,0 +1 @@ +../external/os-autoinst-common/xt/00-tidy.t \ No newline at end of file