mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
improve release scripts
This commit is contained in:
parent
aec2d1bf67
commit
c52ebbbef6
@ -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
|
||||
```
|
||||
|
@ -22,4 +22,3 @@ if len(sys.argv) > 3:
|
||||
|
||||
common.init(exe_name, assets_root, bin_root)
|
||||
common.release()
|
||||
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user