Skip to content

Commit

Permalink
Merge branch 'release-0.32.0'
Browse files Browse the repository at this point in the history
Conflicts:
	plottable.zip
  • Loading branch information
Justin Lan committed Oct 3, 2014
2 parents 0ed9389 + 1a85ed0 commit 6fdaaa3
Show file tree
Hide file tree
Showing 57 changed files with 7,963 additions and 7,747 deletions.
24 changes: 5 additions & 19 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ module.exports = function(grunt) {
}
};

// poor man's deep copy
var deepCopy = function(x) {
return JSON.parse(JSON.stringify(x));
};

tsJSON.dev_release = deepCopy(tsJSON.dev);
delete tsJSON.dev_release.options.compiler;
tsJSON.test_release = deepCopy(tsJSON.test);
delete tsJSON.test_release.options.compiler;

var bumpJSON = {
options: {
files: ['package.json', 'bower.json'],
Expand All @@ -58,7 +48,6 @@ module.exports = function(grunt) {
var FILES_TO_COMMIT = ['plottable.js',
'plottable.min.js',
'plottable.d.ts',
'examples/exampleUtil.js',
'test/tests.js',
"plottable.css",
"plottable.zip",
Expand Down Expand Up @@ -336,11 +325,10 @@ module.exports = function(grunt) {
"concat:tests",
]);
grunt.registerTask("default", "launch");
function makeDevCompile(release) {
return [
var compile_task = [
"update_ts_files",
"update_test_ts_files",
release ? "ts:dev_release" : "ts:dev",
"ts:dev",
"concat:plottable",
"concat:definitions",
"sed:definitions",
Expand All @@ -355,18 +343,16 @@ module.exports = function(grunt) {
"concat:plottable_multifile",
"sed:plottable_multifile",
"clean:tscommand"
];
}
];

grunt.registerTask("dev-compile", makeDevCompile(false));
grunt.registerTask("release-compile", makeDevCompile(true));
grunt.registerTask("dev-compile", compile_task);

grunt.registerTask("release:patch", ["bump:patch", "dist-compile", "gitcommit:version"]);
grunt.registerTask("release:minor", ["bump:minor", "dist-compile", "gitcommit:version"]);
grunt.registerTask("release:major", ["bump:major", "dist-compile", "gitcommit:version"]);

grunt.registerTask("dist-compile", [
"release-compile",
"dev-compile",
"blanket_mocha",
"tslint",
"ts:verify_d_ts",
Expand Down
5 changes: 3 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_template
padding: 20px;
}
</style>
<script src="http://d3js.org/d3.v3.js" charset="utf-8"></script>
<script src="../../bower_components/d3/d3.js" charset="utf-8"></script>
<script src="../../plottable.js"></script>
<script src="../exampleUtil.js"></script>
<script src="<%= js_path %>"></script>
Expand All @@ -122,5 +122,6 @@ def get_template
<div id="testdiv"></div>
</body>
</html>}
</html>
}
end
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "plottable",
"description": "A library for creating charts out of D3",
"version": "0.31.0",
"version": "0.32.0",
"main": ["plottable.js", "plottable.css"],
"license": "MIT",
"ignore": [
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "plottable.js",
"description": "A library for creating charts out of D3",
"version": "0.31.0",
"version": "0.32.0",
"repository": {
"type": "git",
"url": "https://github.com/palantir/plottable.git"
Expand All @@ -15,7 +15,7 @@
"grunt-cli": "0.1.6",
"grunt-contrib-watch": "~0.5.3",
"load-grunt-tasks": "~0.2.0",
"grunt-ts": "~1.11.6",
"grunt-ts": "~1.12.1",
"grunt-tslint": "~0.4.0",
"grunt-contrib-concat": "~0.3.0",
"grunt-mocha-phantomjs": "~0.4.0",
Expand Down
5,022 changes: 2,531 additions & 2,491 deletions plottable-dev.d.ts

Large diffs are not rendered by default.

4,242 changes: 2,140 additions & 2,102 deletions plottable.d.ts

Large diffs are not rendered by default.

Loading

0 comments on commit 6fdaaa3

Please sign in to comment.