chore: check result before uploading (close #24)

This commit is contained in:
Yifan Gao
2022-11-09 00:05:23 +08:00
parent 64dca1a9f1
commit 9fe1d837ba
2 changed files with 8 additions and 0 deletions

7
guard.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
[[ $(wc -l result/china.txt) < 3000 ]] && exit 1
[[ $(wc -l result/china6.txt) < 1000 ]] && exit 2
exit 0