basic docs, remove publish, add quartz create

This commit is contained in:
Jacky Zhao 2023-07-05 00:16:06 -07:00
parent 92ca787092
commit 465804a389
35 changed files with 170 additions and 955 deletions
quartz

View file

@ -14,7 +14,6 @@ interface Argv {
directory: string
verbose: boolean
output: string
clean: boolean
serve: boolean
port: number
}
@ -34,11 +33,9 @@ export default async function buildQuartz(argv: Argv, version: string) {
}
// clean
if (argv.clean) {
perf.addEvent('clean')
await rimraf(output)
console.log(`Cleaned output directory \`${output}\` in ${perf.timeSince('clean')}`)
}
perf.addEvent('clean')
await rimraf(output)
console.log(`Cleaned output directory \`${output}\` in ${perf.timeSince('clean')}`)
// glob
perf.addEvent('glob')