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: {
|
compress: {
|
||||||
main: {
|
main: {
|
||||||
options: {
|
options: {
|
||||||
|
@ -621,9 +634,10 @@ module.exports = function (grunt) {
|
||||||
//------
|
//------
|
||||||
// Release and publish
|
// Release and publish
|
||||||
grunt.registerTask('prep-release', [
|
grunt.registerTask('prep-release', [
|
||||||
'dist', // all dist including docs
|
'dist',
|
||||||
'jekyll:github', // build site from scratch
|
'gitcommit:dist',
|
||||||
'compress' // compress zip
|
'jekyll:github' // build site from scratch
|
||||||
|
//'compress' // compress zip
|
||||||
]);
|
]);
|
||||||
grunt.registerTask('publish', [
|
grunt.registerTask('publish', [
|
||||||
'prep-release', // build all including dist, docs, site
|
'prep-release', // build all including dist, docs, site
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
"grunt-csscomb": "~3.1.0",
|
"grunt-csscomb": "~3.1.0",
|
||||||
"grunt-eslint": "^17.3.1",
|
"grunt-eslint": "^17.3.1",
|
||||||
"grunt-exec": "~0.4.6",
|
"grunt-exec": "~0.4.6",
|
||||||
|
"grunt-git": "^0.3.7",
|
||||||
"grunt-html": "~5.0.0",
|
"grunt-html": "~5.0.0",
|
||||||
"grunt-jekyll": "~0.4.2",
|
"grunt-jekyll": "~0.4.2",
|
||||||
"grunt-jscs": "~2.4.0",
|
"grunt-jscs": "~2.4.0",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user