mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-03-10 14:55:46 +03:00
automate publish and commit dist automatically in process now that it is no longer ignored
This commit is contained in:
parent
cb6c279cfe
commit
d7c0abcc10
20
Gruntfile.js
20
Gruntfile.js
|
@ -481,6 +481,19 @@ module.exports = function (grunt) {
|
|||
}
|
||||
},
|
||||
|
||||
gitcommit: {
|
||||
dist: {
|
||||
options: {
|
||||
message: 'dist',
|
||||
noVerify: true,
|
||||
noStatus: false
|
||||
},
|
||||
files: {
|
||||
src: ['dist/**/*']
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
compress: {
|
||||
main: {
|
||||
options: {
|
||||
|
@ -621,9 +634,10 @@ module.exports = function (grunt) {
|
|||
//------
|
||||
// Release and publish
|
||||
grunt.registerTask('prep-release', [
|
||||
'dist', // all dist including docs
|
||||
'jekyll:github', // build site from scratch
|
||||
'compress' // compress zip
|
||||
'dist',
|
||||
'gitcommit:dist',
|
||||
'jekyll:github' // build site from scratch
|
||||
//'compress' // compress zip
|
||||
]);
|
||||
grunt.registerTask('publish', [
|
||||
'prep-release', // build all including dist, docs, site
|
||||
|
|
|
@ -57,6 +57,7 @@
|
|||
"grunt-csscomb": "~3.1.0",
|
||||
"grunt-eslint": "^17.3.1",
|
||||
"grunt-exec": "~0.4.6",
|
||||
"grunt-git": "^0.3.7",
|
||||
"grunt-html": "~5.0.0",
|
||||
"grunt-jekyll": "~0.4.2",
|
||||
"grunt-jscs": "~2.4.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user