lib/dev_tasks.rb in dev_tasks-0.0.70 vs lib/dev_tasks.rb in dev_tasks-0.0.71
- old
+ new
@@ -23,10 +23,10 @@
#hash = JSON.parse File.read("#{File.dirname(__FILE__)}/spec.json")
#self[:dev_tasks_gem]=JSON.parse File.read("#{File.dirname(__FILE__)}/spec.json")
self[:name]=pwd.split('/').last#Rake.application.original_dir.split('/').last
self[:scm]=Environment.scm
self[:branch]=Environment.branch
- self[:src_glob]="**/{*.{rb,feature,spec,cs,c,m,cpp,cxx,h,hpp,i,jam,csproj,vcproj,snk,vcxproj,xcodeproj,plist,xib,sln,filters,xaml,xml,resx,settings,txt,png,bmp,ico,config},Jamfile,.semver,Gemfile,README,LICENSE}"
+ self[:src_glob]="**/{*.{rb,feature,spec,cs,c,m,cpp,cxx,h,hpp,i,jam,csproj,vcproj,snk,vcxproj,xcodeproj,plist,xib,sln,filters,xaml,resx,settings,txt,png,bmp,ico,config},Jamfile,.semver,Gemfile,README,LICENSE}"
self[:newest_src_file]=Dir.glob(self[:src_glob]).max_by {|f| File.mtime(f)}
self[:command_order]=['pull','upgrade','add','build','test','commit','publish','push']
self[:relative_directory]=Environment.relative_directory
self[:working_directory]=Environment.working_directory
self[:context]=Environment.context