From bf14067eb0c5437f012e9f21f2835042764a626f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 17 Sep 2015 00:38:52 -0700 Subject: [PATCH] Add exec + doc header --- script/bootstrap | 5 +++++ script/cibuild | 5 +++++ script/server | 5 +++++ script/test | 5 +++++ script/update | 4 ++++ 5 files changed, 24 insertions(+) diff --git a/script/bootstrap b/script/bootstrap index 4de331c6a9d..f4cb6753fe8 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -1,3 +1,8 @@ +#!/bin/sh + +# script/bootstrap: Resolve all dependencies that the application requires to +# run. + cd "$(dirname "$0")/.." script/bootstrap_server diff --git a/script/cibuild b/script/cibuild index 6c8ddd602e5..20c0719a982 100755 --- a/script/cibuild +++ b/script/cibuild @@ -1,3 +1,8 @@ +#!/bin/sh + +# script/cibuild: Setup environment for CI to run tests. This is primarily +# designed to run on the continuous integration server. + script/bootstrap_server script/test coverage coveralls diff --git a/script/server b/script/server index 218944927fe..0904bfd728e 100755 --- a/script/server +++ b/script/server @@ -1,3 +1,8 @@ +#!/bin/sh + +# script/server: Launch the application and any extra required processes +# locally. + cd "$(dirname "$0")/.." python3 -m homeassistant -c config diff --git a/script/test b/script/test index 28d88201806..753ec340fd6 100755 --- a/script/test +++ b/script/test @@ -1,3 +1,8 @@ +#!/bin/sh + +# script/test: Run test suite for application. Optionallly pass in a path to an +# individual test file to run a single test. + cd "$(dirname "$0")/.." echo "Running tests..." diff --git a/script/update b/script/update index e0226ee9ca2..9f8b2530a7e 100755 --- a/script/update +++ b/script/update @@ -1,3 +1,7 @@ +#!/bin/sh + +# script/update: Update application to run for its current checkout. + cd "$(dirname "$0")/.." git pull