Commit 318e8bbb authored by nanahira's avatar nanahira

simplify

parent 1b9b8f42
......@@ -92,16 +92,16 @@ resources:
dependencies: []
script:
# Picture
- mkdir -p resources/Picture
- mkdir -p Picture
- 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
- mv ygopro2-closeup/closeup resources/Picture/Closeup
- mv ygopro2-closeup/closeup ./Picture/Closeup
# Ask sherry for Picture/DIY and Sound
# sound is too big, so we don't pack
- git clone --depth 1 https://code.moenext.com/mycard/mdpro3-other
- mv mdpro3-other/Picture/* resources/Picture/
# - mv mdpro3-other/Sound resources/
- mv mdpro3-other/Picture/* ./Picture/
# - mv mdpro3-other/Sound ./
# Data
- git clone --depth 1 https://github.com/mycard/ygopro-scripts
......@@ -114,16 +114,18 @@ resources:
- git clone --depth 1 https://code.moenext.com/mycard/ygopro-database
- cp -rf ygopro-database/locales/* Data/locales
- mv Data resources/
# 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/single resources/Puzzle
- mv ygopro-starter-pack/deck ./Deck
- mv ygopro-starter-pack/single ./Puzzle
artifacts:
paths:
- resources
- Picture
- Deck
- Puzzle
# - Sound
- Data
.pack:
stage: pack
......@@ -132,11 +134,11 @@ resources:
script:
- mkdir -p dist
- cd Builds/$BUILD_TARGET
- mv ../../resources/Picture .
- mv ../../resources/Deck .
- mv ../../resources/Puzzle .
# - mv ../../resources/Sound .
- rsync -a ../../resources/Data/ ./Data
- mv ../../Picture .
- mv ../../Deck .
- mv ../../Puzzle .
# - mv ../../Sound .
- rsync -a ../../Data/ ./Data
- tar --zstd -cf ../../dist/mdpro3-$CI_COMMIT_REF_NAME-$TARGET_PLATFORM.tar.zst .
- cd ../..
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