mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Add back grunt-contrib-compress.
Should automate the release process. [ci skip]
This commit is contained in:
@@ -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'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user