Skip to content

Commit 9bb8ac0

Browse files
authored
Set default codegen dir to ~/GRIP (#778)
Fixes #776
1 parent b4c25eb commit 9bb8ac0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

core/src/main/java/edu/wpi/grip/core/settings/CodeGenerationSettings.java

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package edu.wpi.grip.core.settings;
22

3+
import edu.wpi.grip.core.GripFileManager;
4+
35
import static com.google.common.base.Preconditions.checkArgument;
46
import static com.google.common.base.Preconditions.checkNotNull;
57

@@ -50,7 +52,12 @@ public class CodeGenerationSettings {
5052
* </table>
5153
*/
5254
CodeGenerationSettings() {
53-
this("Java", "GripPipeline", false, System.getProperty("user.home"), "", "grip");
55+
this("Java",
56+
"GripPipeline",
57+
false,
58+
GripFileManager.GRIP_DIRECTORY.getAbsolutePath(),
59+
"",
60+
"grip");
5461
}
5562

5663
/**

0 commit comments

Comments
 (0)