summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2021-01-10 11:27:16 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2021-01-10 11:27:16 +0000
commit78358aca233d3cb369b83bd958a595ca3ae90ae5 (patch)
tree8c5cec86d763b945003212378037e9d7446b5ee5 /check
parent00ab17722cdb10e02e4e97cf8b098e1cb9e75978 (diff)
downloadsubplot-78358aca233d3cb369b83bd958a595ca3ae90ae5.tar.gz
resources: Rearrange share/ structure ready for lib import
In readiness for the lib/ import, rearrange from a structure of share/templates/$lang/... to be share/$lang/template/... This will permit share/$lang/lib/ to exist later. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'check')
-rwxr-xr-xcheck6
1 files changed, 3 insertions, 3 deletions
diff --git a/check b/check
index fb5f9c6..504b72d 100755
--- a/check
+++ b/check
@@ -48,7 +48,7 @@ docgen() {
# Run unit tests for the Python template.
(set -eu
- cd share/templates/python
+ cd share/python/template
for x in *_tests.py
do
$hideok echo "Unit tests: $x"
@@ -58,13 +58,13 @@ docgen() {
if command -v flake8 > /dev/null
then
- $hideok flake8 share/templates/python lib/*.py
+ $hideok flake8 share/python/template lib/*.py
fi
if command -v shellcheck > /dev/null
then
shellcheck check ./*.sh
- find share/templates/bash -name '*.sh' -exec shellcheck '{}' +
+ find share/bash/template -name '*.sh' -exec shellcheck '{}' +
fi
$hideok cargo build --all-targets