Refactor the code (#15)

* 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
This commit is contained in:
Fangjun Kuang
2022-10-12 21:35:07 +08:00
committed by GitHub
parent 93539b6f91
commit 8ee02c28b0
26 changed files with 1179 additions and 718 deletions

19
scripts/utils.sh Normal file
View File

@@ -0,0 +1,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
}