From e7c22b59615b896cf56f1f556c6658e1efb66bbb Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Tue, 3 Mar 2020 01:11:49 +0800 Subject: [PATCH] feat: public types package Signed-off-by: MiaoWoo --- cli.sh | 62 ------------------------------- packages/i18n/languages/zh_cn.yml | 2 +- 2 files changed, 1 insertion(+), 63 deletions(-) delete mode 100755 cli.sh diff --git a/cli.sh b/cli.sh deleted file mode 100755 index 80fc9bd7..00000000 --- a/cli.sh +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash -SHELL_PREFIX="[FAAS-CLI]" -# Shell Base Script -set -e - -c_red="\033[38;5;1m" -c_blue="\033[38;5;4m" -c_green="\033[38;5;2m" -c_reset="\033[0m" -c_yellow="\033[38;5;3m" - -c_prefix="${c_blue}${SHELL_PREFIX}>>${c_reset}" - -dateStr() { - echo -e "[$(date '+%H:%M:%S')]" -} - -info() { - echo -e "${c_prefix}$(dateStr) ${*}" -} - -warn() { - echo -e "${c_prefix}$(dateStr) ${c_yellow}${*}${c_reset}" -} - -error() { - echo -e "${c_prefix}$(dateStr) ${c_red}${*}${c_reset}" -} -#==================== -cd $(dirname $0) - -# User Input Variable -action= - -while [[ $# -gt 0 ]]; do - case "$1" in - -a) - action="$2" - shift - ;; - -*) - echo "Illegal option $1" - ;; - esac - shift $(( $# > 0 ? 1 : 0 )) -done - -case "${action}" in - undo) - hash=$(git log -n 1 --format=format:%H) - tag=$(git tag -l --contains=${hash}) - if [[ -z "${tag}" ]]; then - error "last commit not have tag exit..." - exit 0 - fi - git reset HEAD^ - git tag -d ${tag} - git push origin master -f - git push origin :${tag} - ;; -esac - diff --git a/packages/i18n/languages/zh_cn.yml b/packages/i18n/languages/zh_cn.yml index 341b2f71..2e091d43 100644 --- a/packages/i18n/languages/zh_cn.yml +++ b/packages/i18n/languages/zh_cn.yml @@ -1,4 +1,4 @@ -ms.ployfill.initialize: "初始化 Java Nashorn 补丁. 请稍候..." +ms.ployfill.initialize: "加载 Java Nashorn 补丁. 请稍候..." ms.ployfill.completed: "Java Nashorn 补丁 加载完成... 耗时 ({time}s)!" ms.core.ioc.initialize: "初始化 MiaoScript IOC 容器 @ms/container. 请稍候..."