mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-03 20:29:19 +00:00
Updated compiler and trying to make ci work again
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -17,7 +17,6 @@ const bootstrap = async () => {
|
||||
el = el.replace("./", "../../")
|
||||
const set: Set = require(el).default
|
||||
|
||||
console.log(el)
|
||||
if (!isSetAvailable(set, lang)) continue
|
||||
|
||||
const lit = await getAllCards2(set.code)
|
||||
@ -26,7 +25,6 @@ const bootstrap = async () => {
|
||||
const card: Card = require(i).default
|
||||
|
||||
if (!isCardAvailable(card, lang)) continue
|
||||
console.log(i)
|
||||
|
||||
await fs.mkdir(`${endpoint}/${set.code}/${card.localId}`, {recursive: true})
|
||||
await fs.writeFile(`${endpoint}/${set.code}/${card.localId}/index.json`, JSON.stringify(cardToCardSingle(card, lang)))
|
||||
@ -37,6 +35,4 @@ const bootstrap = async () => {
|
||||
|
||||
}
|
||||
|
||||
console.log("Building sets/subitem")
|
||||
|
||||
bootstrap()
|
||||
|
Reference in New Issue
Block a user