Delete rice boxes with dev script

pull/147/head
Henrique Dias 2017-07-19 09:04:10 +01:00
parent 02297c633d
commit c445ddb8f0
No known key found for this signature in database
GPG Key ID: 936F5EB68D786730
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