lib/packnga/release-task.rb in packnga-0.9.8 vs lib/packnga/release-task.rb in packnga-0.9.9
- old
+ new
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011 Haruka Yoshihara <yoshihara@clear-code.com>
+# Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation.
#
@@ -120,10 +121,10 @@
end
def define_reference_upload_task
namespace :references do
desc "Copy references to reference html directory."
- task :upload do
+ task :upload => html_reference_dir do
cp_r(html_reference_dir, @index_html_dir)
end
end
end