mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2024-11-23 01:57:06 +03:00
wip autocommit dist
This commit is contained in:
parent
6292643d82
commit
ed418577a0
26
Gruntfile.js
26
Gruntfile.js
|
@ -466,31 +466,23 @@ module.exports = function (grunt) {
|
|||
|
||||
buildcontrol: {
|
||||
options: {
|
||||
dir: '_gh_pages',
|
||||
remote: 'git@github.com:FezVrasta/bootstrap-material-design.git',
|
||||
commit: true,
|
||||
push: true,
|
||||
message: 'Built %sourceName% from commit %sourceCommit% on branch %sourceBranch%'
|
||||
},
|
||||
pages: {
|
||||
options: {
|
||||
// FIXME: change this when we are ready!!!
|
||||
//remote: 'git@github.com:FezVrasta/bootstrap-material-design.git',
|
||||
// FIXME: remove this when we are ready!!!
|
||||
remote: 'git@github.com:rosskevin/bootstrap-material-design.git',
|
||||
branch: 'gh-pages'
|
||||
dir: '_gh_pages',
|
||||
branch: 'gh-pages',
|
||||
message: 'Built from commit %sourceCommit% on branch %sourceBranch%'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
gitcommit: {
|
||||
},
|
||||
dist: {
|
||||
options: {
|
||||
message: 'dist - publish',
|
||||
verbose: true,
|
||||
noVerify: true,
|
||||
noStatus: true
|
||||
},
|
||||
files: {
|
||||
src: ['dist/**/*']
|
||||
dir: 'dist',
|
||||
message: 'dist from commit %sourceCommit% on branch %sourceBranch%'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -636,12 +628,12 @@ module.exports = function (grunt) {
|
|||
// Release and publish
|
||||
grunt.registerTask('prep-release', [
|
||||
'dist',
|
||||
'gitcommit:dist',
|
||||
'jekyll:github' // build site from scratch
|
||||
//'compress' // compress zip
|
||||
]);
|
||||
grunt.registerTask('publish', [
|
||||
'prep-release', // build all including dist, docs, site
|
||||
'buildcontrol:dist', // push dist
|
||||
'buildcontrol:pages' // push site
|
||||
]);
|
||||
//------
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
"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