Skip to content

Commit

Permalink
Merge pull request #489 from Eonasdan/development
Browse files Browse the repository at this point in the history
v3.1.0
  • Loading branch information
nikoskalogridis committed Aug 15, 2014
2 parents 6f82c2e + 7c3cfd3 commit 7f44889
Show file tree
Hide file tree
Showing 15 changed files with 185 additions and 44 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ grunt # this runs tests and jshint
Very important notes
====================

* **Pull pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch.
* **Pull requests to the `master` branch will be closed.** Please submit all pull requests to the `development` branch.
* **Do not include the minified files in your pull request.** Don't worry, we'll build them when we cut a release.

Grunt tasks
Expand Down
44 changes: 44 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,48 @@ module.exports = function (grunt) {
grunt.registerTask('build', [
'jshint', 'jscs', 'uglify', 'less'
]);

grunt.registerTask('nuget', 'Create a nuget package', function () {
var target = grunt.option('target') || 'less', done = this.async();
if (target === 'less') {
grunt.util.spawn({
cmd: 'src/nuget/nuget.exe',
args: [
'pack',
'src/nuget/Bootstrap.v3.Datetimepicker.nuspec',
'-OutputDirectory',
'build/nuget',
'-Version',
grunt.config.get('pkg').version
]
}, function (error, result) {
if (error) {
grunt.log.error(error);
} else {
grunt.log.write(result);
}
done();
});
}
else {
grunt.util.spawn({
cmd: 'src/nuget/nuget.exe',
args: [
'pack',
'src/nuget/Bootstrap.v3.Datetimepicker.CSS.nuspec',
'-OutputDirectory',
'build/nuget',
'-Version',
grunt.config.get('pkg').version
]
}, function (error, result) {
if (error) {
grunt.log.error(error);
} else {
grunt.log.write(result);
}
done();
});
}
});
};
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eonasdan-bootstrap-datetimepicker",
"version": "3.0.3",
"version": "3.1.0",
"main": [
"build/css/bootstrap-datetimepicker.min.css",
"build/js/bootstrap-datetimepicker.min.js"
Expand Down
8 changes: 7 additions & 1 deletion build/css/bootstrap-datetimepicker.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* Datetimepicker for Bootstrap v3
//! version : 3.0.3
//! version : 3.1.0
* https://github.com/Eonasdan/bootstrap-datetimepicker/
*/
.bootstrap-datetimepicker-widget {
Expand Down Expand Up @@ -111,6 +111,12 @@
line-height: 54px;
width: 54px;
}
.bootstrap-datetimepicker-widget td.cw {
font-size: 10px;
height: 20px;
line-height: 20px;
color: #777777;
}
.bootstrap-datetimepicker-widget td.day {
height: 20px;
line-height: 20px;
Expand Down
4 changes: 2 additions & 2 deletions build/css/bootstrap-datetimepicker.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/js/bootstrap-datetimepicker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-datetimepicker",
"version": "3.0.3",
"version": "3.1.0",
"main": ["build/css/bootstrap-datetimepicker.min.css","build/js/bootstrap-datetimepicker.min.js"],
"dependencies": {
"jquery" : ">=1.8.3",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eonasdan/bootstrap-datetimepicker",
"type": "component",
"version": "3.0.3",
"version": "3.1.0",
"description": "Date/time picker widget based on twitter bootstrap",
"keywords": [
"bootstrap",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrap-datetimepicker",
"filename": "js/bootstrap-datetimepicker.min.js",
"version": "3.0.3",
"version": "3.1.0",
"repository": {
"type": "git",
"url": "https://github.com/eonasdan/bootstrap-datetimepicker.git"
Expand Down
Loading

0 comments on commit 7f44889

Please sign in to comment.