mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Put scripts in scripts folder
This commit is contained in:
@@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
pylint homeassistant
|
|
||||||
flake8 homeassistant --exclude bower_components,external
|
|
||||||
python3 -m unittest discover tests
|
|
@@ -1,3 +1,8 @@
|
|||||||
|
# If current pwd is scripts, go 1 up.
|
||||||
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
|
||||||
# To build the frontend, you need node, bower and vulcanize
|
# To build the frontend, you need node, bower and vulcanize
|
||||||
# npm install -g bower vulcanize
|
# npm install -g bower vulcanize
|
||||||
|
|
7
scripts/check_style
Executable file
7
scripts/check_style
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
# If current pwd is scripts, go 1 up.
|
||||||
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
|
||||||
|
pylint homeassistant
|
||||||
|
flake8 homeassistant --exclude bower_components,external
|
6
scripts/run_tests
Executable file
6
scripts/run_tests
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
# If current pwd is scripts, go 1 up.
|
||||||
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
|
||||||
|
python3 -m unittest discover tests
|
7
scripts/update
Executable file
7
scripts/update
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
# If current pwd is scripts, go 1 up.
|
||||||
|
if [ ${PWD##*/} == "scripts" ]; then
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
|
|
||||||
|
git pull --recurse-submodules=yes
|
||||||
|
git submodule update --init --recursive
|
Reference in New Issue
Block a user