Commit Graph

21 Commits (39cda8dba7e1a1915df16f50abdeb10e86163dbf)

Author SHA1 Message Date
Sebastiaan Speck dff913f486
`scripts/_common.py`: add a shared Python file to move duplicated code (#12755)
* `scripts/_common.py`: add a shared Python file to move duplicated code

---------

Co-authored-by: Vítor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-05-18 06:03:40 +05:30
Sebastiaan Speck fe67f26e3a
CI: Only ignore TLDR003, TLDR004 and TLDR015 for specific languages (#12715)
Co-authored-by: Reinhart Previano Koentjoro <reinhart_previano@yahoo.com>
2024-05-05 13:31:02 +02:00
Sebastiaan Speck 4547f49a08
test: skip symlinked English folder and optimise the script (#11537)
* test: skip symlinked English folder and optimise the script

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh

* Update test.sh
2023-11-18 11:48:52 +01:00
K.B.Dharun Krishna ec531b230b
scripts/test.sh: remove TLDR005 from ignore list for languages (#11486)
* scripts/test.sh: remove TLDR005 from ignore list for languages

* scripts/test.sh: ignore TLDR005 in Chinese pages

* scripts/test.sh: fix indentation

* scripts/test.sh: reorder ignore list
2023-11-13 19:52:16 +05:30
Lena 250b9d7c21
scripts: use `[[` instead of `[`, fix literal shell globs (#11290)
* build.sh: move `*` outside quotes (it doesn't get expanded)

* scripts: use `[[` instead of `[` in if statements
2023-10-26 22:11:24 +05:30
Seth Falco 50145c29ac
chore: check black version before running (#10063) 2023-04-13 22:58:23 +01:00
Krzysztof Bociurko a55e9f412d
scripts/test.sh: add batching to markdownlint (#9469) 2022-11-24 11:16:42 -03:00
a1346054 5c62e303b5
*: shellcheck and fix typos (#6526)
* test.sh: quote a variable

* contributing-guides/*: fix typos

* pages/*: fix typos

* scripts/*: fix typos

* MAINTAINERS.md: trim trailing whitespace

Co-authored-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-16 00:32:13 -03:00
Axel Navarro 6d318892f8
script/test: ignore python checks if not available (#6530) 2021-09-15 13:10:16 -10:00
Matthew Peveler 3fa29ea1c2
tooling: add black and flake8 for python formatting/linting (#6454) 2021-09-03 12:17:51 -03:00
CleanMachine1 6637acf662
scripts: add SPDX-License-Identifier in files (#6215) 2021-07-16 14:15:31 +01:00
Matthew Peveler 560740f0c2
chore(deps): update tldr-lint to 0.0.11 (#5754)
* chore(deps): update tldr-lint to 0.0.11

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>

* add more ignore codes

* Update test.sh
2021-04-18 16:19:18 +02:00
bl-ue d607f853be
scripts/*.sh: set executable permission (#5461)
In most repos, executable shell scripts have the executable bit set.
2021-03-31 00:32:17 +01:00
Owen Voke 68f8e470d1 Fix PULL_REQUEST_ID reference when not set 2020-06-26 18:55:59 +02:00
Owen Voke 5e958f6074 Update scripts to use PULL_REQUEST_ID 2020-06-26 18:55:59 +02:00
Owen Voke 7472600aa1 Update Travis references in scripts 2020-06-26 18:55:59 +02:00
Marco Bonelli 359ada47c7 Scripts: use POSIX subcommand invocation 2019-11-29 16:01:25 +00:00
Marco Bonelli 4d153b7d8e test.sh: rename functions 2019-11-29 16:01:25 +00:00
Marco Bonelli 2ae688016a Send to bot: rename script 2019-11-29 16:01:25 +00:00
Marco Bonelli 134e63f318 Send to bot: better action names, simplify endpoint 2019-11-29 16:01:25 +00:00
Marco Bonelli c2051a0674 Replace npm test with a proper bash script
The npm test script was dirty and had the unneeded side effect of generating an
output file. This change moves the test to a real bash script that runs the
appropriate tests and also additional checks when ran from Travis CI during a PR
build.
2019-11-29 16:01:25 +00:00