Commit d216fe5c authored by Ronan Abhamon's avatar Ronan Abhamon

feat(tools): increase portability

parent 36618bbc
#!/usr/bin/sh #!/usr/bin/env bash
# ==================================================================== # ==============================================================================
# Tool to check the syntax of `.qml`/`.js` files. # Tool to check the syntax of `.qml`/`.js` files.
# ==================================================================== # ==============================================================================
RESOURCES_FILE='resources.qrc' RESOURCES_FILE='resources.qrc'
LINTER=qmllint-qt5 LINTER=qmllint-qt5
......
#!/usr/bin/sh #!/usr/bin/env bash
# Check QML files, quit on failure. # Check QML files, quit on failure.
sh './tests/tools/check_qml_syntax' sh './tests/tools/check_qml_syntax'
......
#!/usr/bin/sh #!/usr/bin/env bash
# ==================================================================== # ==============================================================================
# Tool to run unit tests on all `*.spec.qml` files. # Tool to run unit tests on all `*.spec.qml` files.
# ==================================================================== # ==============================================================================
TEST_RUNNER='qmltestrunner-qt5' TEST_RUNNER='qmltestrunner-qt5'
...@@ -20,7 +20,7 @@ NC='\e[0m' ...@@ -20,7 +20,7 @@ NC='\e[0m'
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/.. cd $SCRIPT_DIR/..
# ==================================================================== # ==============================================================================
so_far_so_good=0 so_far_so_good=0
......
#!/usr/bin/sh #!/usr/bin/env bash
# ==================================================================== # ==============================================================================
# Tool to build automatically `resources.qrc`. # Tool to build automatically `resources.qrc`.
# #
# It should be used sparingly, it adds all `.qml`, `.svg`, `.png`, # It should be used sparingly, it adds all `.qml`, `.svg`, `.png`,
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
# in the resources file. # in the resources file.
# #
# If you don't want to add a particular file, do not use this script! # If you don't want to add a particular file, do not use this script!
# ==================================================================== # ==============================================================================
RESOURCES_FILE='resources.qrc' RESOURCES_FILE='resources.qrc'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment