Skip to content

Commit 73a2957

Browse files
committed
Update: Specify an output folder by default
1 parent 735f575 commit 73a2957

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/redub/api.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ int createNewProject(string projectType, string targetDirectory)
228228
projectName = baseName(path);
229229
userName = getUserName();
230230
int returnCode = 0;
231-
string gitIgnore = "*.exe\n*.pdb\n*.o\n*.obj\n*.lst\n*.lnk\n.history\n.dub\ndocs.json\n__dummy.html\ndocs/\n/"~projectName;
231+
string gitIgnore = "*.exe\n*.pdb\n*.o\n*.obj\n*.lst\n*.lnk\n.history\n.dub\ndocs.json\n__dummy.html\ndocs/\nbuild/\n/"~projectName;
232232
foreach(ext; [".so", ".dylib", ".dll", ".a", ".lib", "-test-*"])
233233
gitIgnore~= "\n" ~ projectName ~ ext;
234234

@@ -277,6 +277,7 @@ i`{
277277
"$(userName)"
278278
],$(dependencies)
279279
"description": "A minimal D application.",
280+
"targetPath": "build",
280281
"license": "proprietary",
281282
"name": "$(projectName)"
282283
}`;

0 commit comments

Comments
 (0)