mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-03 12:19:18 +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:
@ -16,7 +16,6 @@ const bootstrap = async () => {
|
||||
el = el.replace("./", "../../")
|
||||
const set: Set = require(el).default
|
||||
|
||||
console.log(el)
|
||||
if (!isSetAvailable(set, lang)) continue
|
||||
items.push(
|
||||
set
|
||||
@ -37,6 +36,4 @@ const bootstrap = async () => {
|
||||
|
||||
}
|
||||
|
||||
console.log("Building sets/index")
|
||||
|
||||
bootstrap()
|
||||
|
@ -15,7 +15,6 @@ const bootstrap = async () => {
|
||||
const set: Set = require(el).default
|
||||
|
||||
if (!isSetAvailable(set, lang)) continue
|
||||
console.log(el)
|
||||
|
||||
await fs.mkdir(`${endpoint}/${set.code}/`, {recursive: true})
|
||||
await fs.writeFile(`${endpoint}/${set.code}/index.json`, JSON.stringify(setToSetSingle(set, lang)))
|
||||
@ -23,6 +22,5 @@ const bootstrap = async () => {
|
||||
|
||||
|
||||
}
|
||||
console.log("Building sets/item")
|
||||
|
||||
bootstrap()
|
||||
|
@ -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