feat(tools): increase portability

This commit is contained in:
Ronan Abhamon 2017-01-11 10:53:08 +01:00
parent 36618bbc0f
commit d216fe5c4a
4 changed files with 11 additions and 11 deletions

View file

@ -1,8 +1,8 @@
#!/usr/bin/sh
#!/usr/bin/env bash
# ====================================================================
# ==============================================================================
# Tool to check the syntax of `.qml`/`.js` files.
# ====================================================================
# ==============================================================================
RESOURCES_FILE='resources.qrc'
LINTER=qmllint-qt5

View file

@ -1,4 +1,4 @@
#!/usr/bin/sh
#!/usr/bin/env bash
# Check QML files, quit on failure.
sh './tests/tools/check_qml_syntax'

View file

@ -1,8 +1,8 @@
#!/usr/bin/sh
#!/usr/bin/env bash
# ====================================================================
# ==============================================================================
# Tool to run unit tests on all `*.spec.qml` files.
# ====================================================================
# ==============================================================================
TEST_RUNNER='qmltestrunner-qt5'
@ -20,7 +20,7 @@ NC='\e[0m'
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $SCRIPT_DIR/..
# ====================================================================
# ==============================================================================
so_far_so_good=0

View file

@ -1,6 +1,6 @@
#!/usr/bin/sh
#!/usr/bin/env bash
# ====================================================================
# ==============================================================================
# Tool to build automatically `resources.qrc`.
#
# It should be used sparingly, it adds all `.qml`, `.svg`, `.png`,
@ -8,7 +8,7 @@
# in the resources file.
#
# If you don't want to add a particular file, do not use this script!
# ====================================================================
# ==============================================================================
RESOURCES_FILE='resources.qrc'