• 此项目
    • 正在载入...
  • Sign in

xuning / sherpaonnx

96x96
转到一个项目
Toggle navigation
  • 项目
  • 群组
  • 代码片段
  • 帮助
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • sherpaonnx
  • scripts
  • utils.sh
  • Refactor the code (#15) · 8ee02c28 ...
    8ee02c28 浏览文件
    * code refactoring
    
    * Remove reference files
    
    * Update README and CI
    
    * small fixes
    
    * fix style issues
    
    * add style check for CI
    
    * fix style issues
    
    * remove kaldi-native-io
    Fangjun Kuang authored 2022-10-12 21:35:07 +0800
utils.sh 292 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/bash

default='\033[0m'
bold='\033[1m'
red='\033[31m'
green='\033[32m'

function ok() {
  printf "${bold}${green}[OK]${default} $1\n"
}

function error() {
  printf "${bold}${red}[FAILED]${default} $1\n"
}

function abort() {
  printf "${bold}${red}[FAILED]${default} $1\n"
  exit 1
}