mirror of
https://github.com/status-im/burnchart.git
synced 2025-01-12 03:34:20 +00:00
Clean temp folders after publishing
This commit is contained in:
parent
68813df07f
commit
a5d1d0a43a
@ -3,10 +3,14 @@ module.exports = (grunt) ->
|
||||
|
||||
pkg: grunt.file.readJSON("package.json")
|
||||
|
||||
'clean': [
|
||||
'clean':
|
||||
public: [
|
||||
'public/js'
|
||||
'public/css'
|
||||
]
|
||||
pages: [
|
||||
'.grunt'
|
||||
]
|
||||
|
||||
'mkdir':
|
||||
all:
|
||||
@ -48,7 +52,7 @@ module.exports = (grunt) ->
|
||||
|
||||
# Cleanup public directories.
|
||||
grunt.registerTask('init', [
|
||||
'clean'
|
||||
'clean:public'
|
||||
'mkdir'
|
||||
])
|
||||
|
||||
@ -57,3 +61,9 @@ module.exports = (grunt) ->
|
||||
'uglify'
|
||||
'cssmin'
|
||||
])
|
||||
|
||||
# Publish to GitHub Pages.
|
||||
grunt.registerTask('pages', [
|
||||
'gh-pages'
|
||||
'clean:pages'
|
||||
])
|
Loading…
x
Reference in New Issue
Block a user