Updated compiler and trying to make ci work again

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2020-03-16 22:40:00 +01:00
parent ab5911fae9
commit b5ce0c9b93
20 changed files with 52 additions and 57 deletions

View File

@ -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()