This commit is contained in:
tree 2022-01-01 10:36:10 +01:00
rodič 15ad7ba566
revize 1b78f0568e
4 změnil soubory, kde provedl 13 přidání a 4 odebrání

Zobrazit soubor

6
index.json Normal file
Zobrazit soubor

@ -0,0 +1,6 @@
[
{
"id": "utxo22",
"url": "https://spec.utxo.cz/22"
}
]

Zobrazit soubor

@ -12,6 +12,7 @@ links:
telegram: https://t.me/utxocz
discord: https://discord.gg/5k9dEtVhnv
api:
speakers: https://spec.utxo.cz/speakers.json
tracks: https://spec.utxo.cz/tracks.json
events: https://spec.utxo.cz/events.json
index: https://spec.utxo.cz/22/index.json
speakers: https://spec.utxo.cz/22/speakers.json
tracks: https://spec.utxo.cz/22/tracks.json
events: https://spec.utxo.cz/22/events.json

Zobrazit soubor

@ -3,7 +3,8 @@ import { copy } from "https://deno.land/std@0.119.0/fs/copy.ts";
import { load } from 'https://deno.land/x/js_yaml_port/js-yaml.js'
const srcDir = './spec'
const outputDir = './dist'
const outputDirBase = './dist'
const outputDir = outputDirBase + '/22'
await ensureDir(outputDir)
@ -20,5 +21,6 @@ for await (const f of Deno.readDir(srcDir)) {
console.log('Copying photos..')
copy(srcDir + '/photos', outputDir + '/photos', { overwrite: true })
copy('./index.json', outputDirBase + '/index.json', { overwrite: true })
console.log('done')