mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
moved build scripts to new build directory
This commit is contained in:
parent
3ad3cbb4eb
commit
0b2f7b13a1
4
.github/workflows/manifest.yml
vendored
4
.github/workflows/manifest.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
||||
- name: Generate manifest and shields for main branch
|
||||
id: manifest-main
|
||||
if: ${{ (success() || failure()) && steps.checkout-main.outcome == 'success' }}
|
||||
run: python imgen.py shields
|
||||
run: python ./build/imgen.py shields
|
||||
- name: Save main's manifest
|
||||
if: ${{ (success() || failure()) && steps.manifest-main.outcome == 'success' }}
|
||||
run: mv install_manifest.json deploy/manifests/main
|
||||
@ -61,7 +61,7 @@ jobs:
|
||||
- name: Generate manifest for devel
|
||||
id: manifest-devel
|
||||
if: ${{ (success() || failure()) && steps.checkout-devel.outcome == 'success' }}
|
||||
run: python imgen.py
|
||||
run: python ./build/imgen.py
|
||||
- name: Save devel's manifest
|
||||
if: ${{ (success() || failure()) && steps.manifest-devel.outcome == 'success' }}
|
||||
run: mv install_manifest.json deploy/manifests/devel
|
||||
|
@ -44,9 +44,11 @@ def get_version(path, is_lib = False):
|
||||
|
||||
# generate installation manifest object
|
||||
def make_manifest(size):
|
||||
os.chdir('./_minified')
|
||||
|
||||
manifest = {
|
||||
"versions" : {
|
||||
"installer" : get_version("./ccmsi.lua"),
|
||||
"installer" : get_version("../ccmsi.lua"),
|
||||
"bootloader" : get_version("./startup.lua"),
|
||||
"common" : get_version("./scada-common/util.lua", True),
|
||||
"comms" : get_version("./scada-common/comms.lua", True),
|
||||
@ -95,6 +97,8 @@ def make_manifest(size):
|
||||
}
|
||||
}
|
||||
|
||||
os.chdir('../')
|
||||
|
||||
return manifest
|
||||
|
||||
# write initial manifest with placeholder size
|
Loading…
Reference in New Issue
Block a user