@@ -32,8 +32,8 @@ directory = args.directory
3232def generateMakefile ():
3333 src_dir = ""
3434
35- puts (colored .cyan ("Generating Arduino Makefile..." ))
36- puts (colored .red ("Any existing Makefile in current directory will be overwritten!!" ))
35+ puts (colored .cyan ("Generating Arduino Ard- Makefile project in " + os . path . abspath ( directory ) ))
36+ puts (colored .red ("Any existing Makefile in " + os . path . abspath ( directory ) + " will be overwritten!!" ))
3737 # Header
3838 fileContents = "# Generated by ard-make version " + VERSION + "\n \n "
3939 btag = prompt .query ('Board tag?' , default = 'uno' )
@@ -111,7 +111,7 @@ def writeToMakefile(fileContents, path):
111111
112112def writeTemplate (filename ):
113113 src = open ((filename + ".ino" ),'w' )
114- puts (colored .cyan ("Writing " + filename + ".ino..." ))
114+ puts (colored .cyan ("Writing " + os . path . abspath ( filename ) + ".ino..." ))
115115 if args .verbose :
116116 puts (colored .yellow (ard_template ))
117117 src .write ("/* Project: " + filename + " */\n " + ard_template )
@@ -120,7 +120,7 @@ def writeTemplate(filename):
120120def checkCreateFolder (folder ):
121121 if folder and not folder == 'AUTO' :
122122 if not os .path .exists (folder ):
123- puts (colored .cyan (("Creating " + folder + " folder" )))
123+ puts (colored .cyan (("Creating " + os . path . abspath ( folder ) + " folder" )))
124124 os .makedirs (folder )
125125
126126def checkDefine (define , user ):
0 commit comments