Conditionally deleting old files in build scripts
Former-commit-id: 49e2557a35946df591ef3682e2cb4041a490bd9e
This commit is contained in:
parent
9461c0f3dc
commit
0c60eebf71
@ -4,5 +4,5 @@ KANJIDIC=util/kanjidic
|
||||
EDICT=util/edict
|
||||
DICT=yomi_base/japanese/dictionary.db
|
||||
|
||||
rm $DICT
|
||||
[ -f $DICT ] && rm $DICT
|
||||
util/compile.py --kanjidic $KANJIDIC --edict $EDICT $DICT
|
||||
|
@ -1,2 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
ZIP=yomichan.zip
|
||||
|
||||
[ -f $ZIPFILE ] rm $ZIP
|
||||
7z a yomichan.zip -xr\!\*.pyc yomichan.py yomi_base
|
||||
|
Loading…
Reference in New Issue
Block a user