Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-cn-database-generator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-cn-database-generator
Commits
3b55dc65
Commit
3b55dc65
authored
Oct 24, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing
parent
93a34cdb
Pipeline
#1787
failed with stages
in 51 seconds
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
ci-scripts/generate.sh
ci-scripts/generate.sh
+20
-0
No files found.
ci-scripts/generate.sh
0 → 100755
View file @
3b55dc65
#!/bin/bash
set
-x
set
-o
errexit
export
JP_DATABASE_PATH
=
"./jp.cdb"
export
SOURCE_TARGET_PATH
=
"./ygopro-database/locales/
$LOCALE
/cards.cdb"
export
OUTPUT_PATH
=
"./output/
$LOCALE
"
apt update
;
apt
-y
install
build-essential python3 sqlite3 git
tar
git clone
--depth
=
1 https://code.mycard.moe/mycard/ygopro-database
cp
-rf
./ygopro-database/locales/ja-JP/cards.cdb
"
$JP_DATABASE_PATH
"
npm ci
npm run build
npm start
cd
"
$OUTPUT_PATH
"
tar
zcvf
"../cn-data-
$LOCALE
.tar.gz"
deck expansions
cd
..
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment