diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-01-10 11:27:16 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2021-01-10 11:27:16 +0000 |
commit | 78358aca233d3cb369b83bd958a595ca3ae90ae5 (patch) | |
tree | 8c5cec86d763b945003212378037e9d7446b5ee5 /check | |
parent | 00ab17722cdb10e02e4e97cf8b098e1cb9e75978 (diff) | |
download | subplot-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-x | check | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |