Delete rice boxes with dev script

Former-commit-id: e62473913b7a4cc08226c04e9f5ce7d756259616 [formerly 25f1ad0f294af344b4ad371dc9d204822d235738] [formerly 20343ed3e251b46cf8e5dcdc382dc3e5dcb83604 [formerly c445ddb8f0]]
Former-commit-id: 2cd795c699efb7d07b8abffc4aa002bb741eb5fc [formerly 6c41825f6b05d62b24a74dbdd4befd0f7853a2b3]
Former-commit-id: 3767e4a151fa1ab719f44de66c2de4557ab102b7
This commit is contained in:
Henrique Dias 2017-07-19 09:04:10 +01:00
parent 24bf5f02d3
commit 8bd588e867
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ var chalk = require('chalk')
var webpack = require('webpack')
var config = require('./config')
var webpackConfig = require('./webpack.dev.conf')
var fs = require('fs')
fs.unlinkSync('./rice-box.go')
fs.unlinkSync('./caddy/hugo/rice-box.go')
rm(path.join(config.assetsRoot, config.assetsSubDirectory), err => {
if (err) throw err