dev_tasks 0.0.122 → 0.0.123
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/publish.rb +3 -3
- data/lib/spec.json +1 -1
- metadata +1 -1
data/lib/publish.rb
CHANGED
@@ -20,9 +20,9 @@ class Publish < Array
|
|
20
20
|
if(defined?(DEV_TASKS))
|
21
21
|
if(DEV_TASKS).has_key?(:publish_path)
|
22
22
|
if(DEV_TASKS[:publish_path].include?('svn://'))
|
23
|
-
latestRev=Environment.svn_latest_revision
|
24
|
-
svn_publish_uri="#{DEV_TASKS[:publish_path]}/#{DEV_TASKS[:relative_path]}
|
25
|
-
local_dir="#{Environment.dev_root}/tmp/#{DEV_TASKS[:relative_path]}
|
23
|
+
latestRev=Environment.svn_latest_revision
|
24
|
+
svn_publish_uri="#{DEV_TASKS[:publish_path]}/#{DEV_TASKS[:relative_path]}@#{latestRev}"
|
25
|
+
local_dir="#{Environment.dev_root}/tmp/#{DEV_TASKS[:relative_path]}@#{latestRev}"
|
26
26
|
FileUtils.mkdir_p(File.dirname(local_dir)) if(!File.exists?(File.dirname(local_dir)))
|
27
27
|
dep_dir="#{Environment.dev_root}/dep/#{DEV_TASKS[:relative_directory]}@#{latestRev}@"
|
28
28
|
if(!`svn info #{svn_publish_uri}`.include?('URL:'))
|
data/lib/spec.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"dev_tasks","version":"0.0.
|
1
|
+
{"name":"dev_tasks","version":"0.0.123"}
|