TranslateProject/scripts/status.sh

9 lines
244 B
Bash
Raw Normal View History

2018-11-23 22:12:56 +08:00
#!/usr/bin/env bash
# 重新生成status data
2018-11-23 22:12:56 +08:00
set -o errexit
SCRIPTS_DIR=$(cd $(dirname "$0") && pwd)
BUILD_DIR=$(cd $SCRIPTS_DIR/.. && pwd)/build
mkdir -p ${BUILD_DIR}/status
${SCRIPTS_DIR}/status/status.sh > ${BUILD_DIR}/status/status.json