improve release scripts

This commit is contained in:
lixianjing 2019-11-06 14:47:58 +08:00
parent aec2d1bf67
commit c52ebbbef6
3 changed files with 8 additions and 7 deletions

View File

@ -47,7 +47,7 @@ python scripts/release.py [exe name]
python scripts/release.py demoui.exe
```
也可在其它项目中使用
也可在其它项目中使用
用法:
@ -57,6 +57,8 @@ python ../awtk/scripts/release.py [exe name]
示例:
> 比如当前项目为awtk-mvvm-c-hello。
```
python ../awtk/scripts/release.py awtk_mvvm_app.exe
```

View File

@ -22,4 +22,3 @@ if len(sys.argv) > 3:
common.init(exe_name, assets_root, bin_root)
common.release()

View File

@ -38,12 +38,12 @@ def init(exe, assets_root, bin_root):
if os.path.exists(OUTPUT_DIR):
shutil.rmtree(OUTPUT_DIR)
print('==================================================');
print('==================================================')
print('EXE_NAME:' + EXE_NAME)
print('ASSETS_DIR:' + ASSETS_DIR)
print('OUTPUT_DIR:' + OUTPUT_DIR)
print('BIN_DIR:' + BIN_DIR)
print('==================================================');
print('==================================================')
def joinPath(root, subdir):