From 78358aca233d3cb369b83bd958a595ca3ae90ae5 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 10 Jan 2021 11:27:16 +0000 Subject: 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 --- check | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'check') 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 -- cgit v1.2.1