Commits

Julian Mann committed f7ab170

target files maya_module_erb files sorted out

  • Participants
  • Parent commits 18654e8

Comments (0)

Files changed (3)

File lib/flak/thor/generate.rb

 
             #desc "create_shell_script_tree [name]", "Makes tool files needed for shell script development"
       def create_python_tree
-          template("__init__.py.tt", "python_package/#{name}/__init__.py")
+          template("__init__.py.tt", "#{name}/python_package/#{name}/__init__.py")
       end
     end
 

File lib/flak/thor/target_file.rb

         h['maya_script_copy_files'] = ["script/maya/*.mel","script/maya/*.py","script/maya/*.pyc"]
         h['maya_script_erb_files'] = ["script/maya/erb/*.mel.erb","script/maya/erb/*.py.erb"]
         h['templates'] << "maya"
-        h['os_darwin64']['maya_modules_erb_files'] =  ["resource/config/*.sh"] 
-        h['os_linux64']['maya_modules_erb_files'] = ["resource/config/*.sh"] 
+        h['os_darwin64']['maya_modules_erb_files'] =  ["resource/maya/module*"] 
+        h['os_linux64']['maya_modules_erb_files'] = ["resource/maya/module*"] 
       end
       
       h['default_copy_files'] = ["LICENSE.*", "README.*"] 

File lib/flak/thor/wizard.rb

       
       opts[:nuke] = asker.yes?("Will this project contain nuke tools? (y/n)")
       
-      opts[:python] = asker.yes?("Will this project contain a python package? (y/n)")
+      opts[:python] = asker.yes?("Will this project contain python modules? (y/n)")
       
       opts
     end