Compare commits
3 Commits
315b38a150
...
f2d529b052
| Author | SHA1 | Date | |
|---|---|---|---|
| f2d529b052 | |||
| 153f320b0c | |||
| a82172395d |
@@ -1,3 +1,8 @@
|
|||||||
# DistScripts
|
# DistScripts
|
||||||
|
|
||||||
Скрипт для сборки и создания патча обнвления
|
Скрипт для сборки и создания патча обновления
|
||||||
|
|
||||||
|
* Добавление в проект
|
||||||
|
```shell
|
||||||
|
git submodule add ssh://git@git.anidev.ru:222/AnidevSoft/DistScripts.git DistScripts
|
||||||
|
```
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
from .build_packet import build
|
from .build_packet import build
|
||||||
|
from .patchers import patch_core_build
|
||||||
|
from .patchers import patch_metadata
|
||||||
|
|||||||
@@ -1,4 +1,15 @@
|
|||||||
|
import sys
|
||||||
|
|
||||||
from dist_scripts import build
|
from dist_scripts import build
|
||||||
|
from dist_scripts import patchers
|
||||||
|
|
||||||
|
mode = "build"
|
||||||
|
args = sys.argv
|
||||||
|
if len(args) > 1:
|
||||||
|
mode = args[1]
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
build()
|
if mode == "build":
|
||||||
|
build()
|
||||||
|
elif mode == "core":
|
||||||
|
patchers.patch_core_build()
|
||||||
|
|||||||
Reference in New Issue
Block a user