Add /22 prefix
This commit is contained in:
rodič
15ad7ba566
revize
1b78f0568e
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{
|
||||
"id": "utxo22",
|
||||
"url": "https://spec.utxo.cz/22"
|
||||
}
|
||||
]
|
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
|
Načítá se…
Odkázat v novém úkolu