@@ -32,8 +32,8 @@ directory = args.directory
32
32
def generateMakefile ():
33
33
src_dir = ""
34
34
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!!" ))
37
37
# Header
38
38
fileContents = "# Generated by ard-make version " + VERSION + "\n \n "
39
39
btag = prompt .query ('Board tag?' , default = 'uno' )
@@ -111,7 +111,7 @@ def writeToMakefile(fileContents, path):
111
111
112
112
def writeTemplate (filename ):
113
113
src = open ((filename + ".ino" ),'w' )
114
- puts (colored .cyan ("Writing " + filename + ".ino..." ))
114
+ puts (colored .cyan ("Writing " + os . path . abspath ( filename ) + ".ino..." ))
115
115
if args .verbose :
116
116
puts (colored .yellow (ard_template ))
117
117
src .write ("/* Project: " + filename + " */\n " + ard_template )
@@ -120,7 +120,7 @@ def writeTemplate(filename):
120
120
def checkCreateFolder (folder ):
121
121
if folder and not folder == 'AUTO' :
122
122
if not os .path .exists (folder ):
123
- puts (colored .cyan (("Creating " + folder + " folder" )))
123
+ puts (colored .cyan (("Creating " + os . path . abspath ( folder ) + " folder" )))
124
124
os .makedirs (folder )
125
125
126
126
def checkDefine (define , user ):
0 commit comments