Commit 2afb938

mo <mo.khan@gmail.com>
2018-02-26 01:11:55
wrap timestamps in square brackets.
1 parent e068118
Changed files (3)
bin/cibuild
@@ -7,7 +7,7 @@ set -e
 
 cd "$(dirname "$0")/.."
 
-echo $(date "+%H:%M:%S") "Started at…"
+echo [$(date "+%H:%M:%S")] "Started at…"
 
 # GC customizations
 export RUBY_GC_MALLOC_LIMIT=79000000
bin/lint
@@ -4,8 +4,8 @@ set -e
 
 [ -z "$DEBUG" ] || set -x
 
-echo $(date "+%H:%M:%S") "==> Running setup…"
+echo [$(date "+%H:%M:%S")] "==> Running setup…"
 bin/setup
 
-echo $(date "+%H:%M:%S") "==> Running linters…"
+echo [$(date "+%H:%M:%S")] "==> Running linters…"
 bundle exec rake rubocop
bin/test
@@ -10,8 +10,8 @@ cd "$(dirname "$0")/.."
 
 [ -z "$DEBUG" ] || set -x
 
-echo $(date "+%H:%M:%S") "==> Running setup…"
+echo [$(date "+%H:%M:%S")] "==> Running setup…"
 bin/setup
 
-echo $(date "+%H:%M:%S") "==> Running tests…"
+echo [$(date "+%H:%M:%S")] "==> Running tests…"
 bundle exec rake spec