From 805da237262bf5682c8c23331d26a308df642082 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 11 Jul 2023 21:25:34 +0200 Subject: [PATCH] chore: improve cleanup script for dev env (#416) --- .drone.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6604f26..142dcd7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -26,7 +26,7 @@ steps: NPM_CONFIG_LOGLEVEL: error - name: testbuild - image: thegeeklab/hugo:0.114.0 + image: thegeeklab/hugo:0.115.2 commands: - mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekblog - hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/ -e ci @@ -173,7 +173,7 @@ steps: - refs/pull/** - name: build - image: thegeeklab/hugo:0.114.0 + image: thegeeklab/hugo:0.115.2 commands: - hugo --panicOnWarning -s exampleSite/ diff --git a/package.json b/package.json index f0fb413..b3c9fed 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "svg:sprite": "svg-sprite -C svgsprite.config.json 'src/icons/*.svg'", "svg:font": "svgtofont --sources build/icons/ --output build/fonts/", "prep:clean": "shx rm -rf build/ static/", - "prep:clean-all": "shx rm -rf build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/", + "prep:clean-all": "shx rm -rf VERSION .lighthouseci/ lhci_reports/ build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/ exampleSite/public/ exampleSite/resources/ exampleSite/.hugo_build.lock", "prep:make": "shx mkdir -p build/icons/ build/fonts/ dist/", "svg-sprite-list": "run-s prep:make svg ; shx mkdir -p exampleSite/data/sprites/ ; shx cp build/fonts/GeekblogIcons.json exampleSite/data/sprites/geekblog.json", "lint": "eslint src/js/ --color"