Lines Matching refs:path
126 # strip any leading path information from the module name and save for later
132 triad = [{ ext: '.c', path: @options[:path_src], prefix: '', template: TEMPLATE_SRC, inc: :src, boilerplate: @options[:boilerplates][:src] },
133 { ext: '.h', path: @options[:path_inc], prefix: '', template: TEMPLATE_INC, inc: :inc, boilerplate: @options[:boilerplates][:inc] },
134 { ext: '.c', path: @options[:path_tst], prefix: prefix, template: TEMPLATE_TST, inc: :tst, boilerplate: @options[:boilerplates][:tst] }]
144 # Assemble the path/names of the files we need to work with.
151 path: (Pathname.new("#{cfg[:path]}#{subfolder}") + filename).cleanpath,
195 all_files_exist = false unless File.exist?(file[:path])
202 if File.exist?(file[:path])
203 puts "File #{file[:path]} already exists!"
206 # Create the path first if necessary.
207 FileUtils.mkdir_p(File.dirname(file[:path]), verbose: false)
208 File.open(file[:path], 'w') do |f|
215 `svn add \"#{file[:path]}\"`
217 puts "File #{file[:path]} created and added to source control"
219 puts "File #{file[:path]} created but FAILED adding to source control!"
222 puts "File #{file[:path]} created"
231 file = filespec[:path]
279 " -i\"include\" sets the path to output headers to 'include' (DEFAULT ../src)",
280 " -s\"../src\" sets the path to output source to '../src' (DEFAULT ../src)",
281 " -t\"C:/test\" sets the path to output source to 'C:/test' (DEFAULT ../test)",