Commit 318e8bbb authored by nanahira's avatar nanahira

simplify

parent 1b9b8f42
...@@ -92,16 +92,16 @@ resources: ...@@ -92,16 +92,16 @@ resources:
dependencies: [] dependencies: []
script: script:
# Picture # Picture
- mkdir -p resources/Picture - mkdir -p Picture
- git clone --depth 1 https://code.moenext.com/mycard/hd-arts - git clone --depth 1 https://code.moenext.com/mycard/hd-arts
- mv hd-arts/arts resources/Picture/Art - mv hd-arts/arts ./Picture/Art
- git clone --depth 1 https://code.moenext.com/mycard/ygopro2-closeup - git clone --depth 1 https://code.moenext.com/mycard/ygopro2-closeup
- mv ygopro2-closeup/closeup resources/Picture/Closeup - mv ygopro2-closeup/closeup ./Picture/Closeup
# Ask sherry for Picture/DIY and Sound # Ask sherry for Picture/DIY and Sound
# sound is too big, so we don't pack # sound is too big, so we don't pack
- git clone --depth 1 https://code.moenext.com/mycard/mdpro3-other - git clone --depth 1 https://code.moenext.com/mycard/mdpro3-other
- mv mdpro3-other/Picture/* resources/Picture/ - mv mdpro3-other/Picture/* ./Picture/
# - mv mdpro3-other/Sound resources/ # - mv mdpro3-other/Sound ./
# Data # Data
- git clone --depth 1 https://github.com/mycard/ygopro-scripts - git clone --depth 1 https://github.com/mycard/ygopro-scripts
...@@ -114,16 +114,18 @@ resources: ...@@ -114,16 +114,18 @@ resources:
- git clone --depth 1 https://code.moenext.com/mycard/ygopro-database - git clone --depth 1 https://code.moenext.com/mycard/ygopro-database
- cp -rf ygopro-database/locales/* Data/locales - cp -rf ygopro-database/locales/* Data/locales
- mv Data resources/
# starter pack # starter pack
- git clone --depth 1 https://code.moenext.com/mycard/ygopro-starter-pack - git clone --depth 1 https://code.moenext.com/mycard/ygopro-starter-pack
- mv ygopro-starter-pack/deck resources/Deck - mv ygopro-starter-pack/deck ./Deck
- mv ygopro-starter-pack/single resources/Puzzle - mv ygopro-starter-pack/single ./Puzzle
artifacts: artifacts:
paths: paths:
- resources - Picture
- Deck
- Puzzle
# - Sound
- Data
.pack: .pack:
stage: pack stage: pack
...@@ -132,11 +134,11 @@ resources: ...@@ -132,11 +134,11 @@ resources:
script: script:
- mkdir -p dist - mkdir -p dist
- cd Builds/$BUILD_TARGET - cd Builds/$BUILD_TARGET
- mv ../../resources/Picture . - mv ../../Picture .
- mv ../../resources/Deck . - mv ../../Deck .
- mv ../../resources/Puzzle . - mv ../../Puzzle .
# - mv ../../resources/Sound . # - mv ../../Sound .
- rsync -a ../../resources/Data/ ./Data - rsync -a ../../Data/ ./Data
- tar --zstd -cf ../../dist/mdpro3-$CI_COMMIT_REF_NAME-$TARGET_PLATFORM.tar.zst . - tar --zstd -cf ../../dist/mdpro3-$CI_COMMIT_REF_NAME-$TARGET_PLATFORM.tar.zst .
- cd ../.. - cd ../..
artifacts: artifacts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment