Skip to content

Commit

Permalink
增加一键清除model文件
Browse files Browse the repository at this point in the history
  • Loading branch information
azhai committed May 19, 2022
1 parent 2e55d99 commit e7dc4f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reset-models.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

find models/ -name "*.go" | grep -v mixin | xargs rm -f
rmdir --ignore-fail-on-non-empty models/*/

0 comments on commit e7dc4f4

Please sign in to comment.