Index: tools/cc-frame-viewer/third_party/gl-matrix/tasks/release.rake |
diff --git a/tools/cc-frame-viewer/third_party/gl-matrix/tasks/release.rake b/tools/cc-frame-viewer/third_party/gl-matrix/tasks/release.rake |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c70f70cfc13a47aac644d6b38027386b29ae6d3f |
--- /dev/null |
+++ b/tools/cc-frame-viewer/third_party/gl-matrix/tasks/release.rake |
@@ -0,0 +1,21 @@ |
+desc "tag and release gl-matrix v#{GLMatrix::VERSION}" |
+task :release do |
+ require 'thor' |
+ Bundler.ui = Bundler::UI::Shell.new(Thor::Shell::Basic.new) |
+ Bundler.ui.debug! if ENV['DEBUG'] |
+ |
+ # Sanity check: rebuild files just in case dev forgot to. |
+ # If so, files will change and release will abort since changes |
+ # were not checked in. |
+ Rake::Task['build'].invoke |
+ |
+ release do |
+ # Put other release-related stuff here, such as publishing docs; |
+ # if anything fails, gl-matrix will be untagged and not pushed. |
+ # |
+ # Example: |
+ # |
+ # Rake::Task['doc:publish'].invoke |
+ # |
+ end |
+end |