Lines Matching refs:path
130 # strip any leading path information from the module name and save for later
136 triad = [{ ext: '.c', path: @options[:path_src], prefix: '', template: TEMPLATE_SRC, inc: :src, boilerplate: @options[:boilerplates][:src] },
137 { ext: '.h', path: @options[:path_inc], prefix: '', template: TEMPLATE_INC, inc: :inc, boilerplate: @options[:boilerplates][:inc] },
138 { ext: '.c', path: @options[:path_tst], prefix: prefix, template: TEMPLATE_TST, inc: :tst, boilerplate: @options[:boilerplates][:tst], test_define: @options[:test_define] }]
148 # Assemble the path/names of the files we need to work with.
155 path: (Pathname.new("#{cfg[:path]}#{subfolder}") + filename).cleanpath,
200 all_files_exist = false unless File.exist?(file[:path])
207 if File.exist?(file[:path])
208 puts "File #{file[:path]} already exists!"
211 # Create the path first if necessary.
212 FileUtils.mkdir_p(File.dirname(file[:path]), verbose: false)
213 File.open(file[:path], 'w') do |f|
222 `svn add \"#{file[:path]}\"`
224 puts "File #{file[:path]} created and added to source control"
226 puts "File #{file[:path]} created but FAILED adding to source control!"
229 puts "File #{file[:path]} created"
238 file = filespec[:path]
287 " -i\"include\" sets the path to output headers to 'include' (DEFAULT ../src)",
288 " -s\"../src\" sets the path to output source to '../src' (DEFAULT ../src)",
289 " -t\"C:/test\" sets the path to output source to 'C:/test' (DEFAULT ../test)",