From 465804a389f77807f68ca048cf9d7fac1314d8c5 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 05 Jul 2023 07:16:06 +0000
Subject: [PATCH] basic docs, remove publish, add quartz create

---
 quartz/build.ts |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/quartz/build.ts b/quartz/build.ts
index 45595e7..752f57a 100644
--- a/quartz/build.ts
+++ b/quartz/build.ts
@@ -14,7 +14,6 @@
   directory: string
   verbose: boolean
   output: string
-  clean: boolean
   serve: boolean
   port: number
 }
@@ -34,11 +33,9 @@
   }
 
   // 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')

--
Gitblit v1.10.0