Skip to content

Commit

Permalink
Set default codegen dir to ~/GRIP (#778)
Browse files Browse the repository at this point in the history
Fixes #776
  • Loading branch information
SamCarlberg authored Jan 6, 2017
1 parent b4c25eb commit 9bb8ac0
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package edu.wpi.grip.core.settings;

import edu.wpi.grip.core.GripFileManager;

import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;

Expand Down Expand Up @@ -50,7 +52,12 @@ public class CodeGenerationSettings {
* </table>
*/
CodeGenerationSettings() {
this("Java", "GripPipeline", false, System.getProperty("user.home"), "", "grip");
this("Java",
"GripPipeline",
false,
GripFileManager.GRIP_DIRECTORY.getAbsolutePath(),
"",
"grip");
}

/**
Expand Down

0 comments on commit 9bb8ac0

Please sign in to comment.