mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-02 06:58:13 +00:00
basic docs, remove publish, add quartz create
This commit is contained in:
parent
92ca787092
commit
465804a389
35 changed files with 170 additions and 955 deletions
quartz
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue