mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Add back grunt-contrib-compress.
Should automate the release process. [ci skip]
This commit is contained in:
parent
78eafb8d06
commit
713e53f105
1 changed files with 20 additions and 0 deletions
20
Gruntfile.js
20
Gruntfile.js
|
@ -431,7 +431,27 @@ module.exports = function (grunt) {
|
||||||
branch: 'gh-pages'
|
branch: 'gh-pages'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
compress: {
|
||||||
|
main: {
|
||||||
|
options: {
|
||||||
|
archive: 'bootstrap-<%= pkg.version %>-dist.zip',
|
||||||
|
mode: 'zip',
|
||||||
|
level: 9,
|
||||||
|
pretty: true
|
||||||
|
},
|
||||||
|
files: [
|
||||||
|
{
|
||||||
|
expand: true,
|
||||||
|
cwd: 'dist/',
|
||||||
|
src: ['**'],
|
||||||
|
dest: 'bootstrap-<%= pkg.version %>-dist'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue