Skip to content

Commit

Permalink
Should fix the tests on appveyor, constants -> Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Moore committed Jan 5, 2017
1 parent 770b4ff commit 0d762a4
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions Disbott/Resources/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,24 @@ namespace Disbott
{
public static class Constants
{
#if DEBUG
public static string quotePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\quotestest.db";
#if DEBUG
public static string quotePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\quotestest.db";

public static string remindMePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\remindmetest.db";
public static string remindMePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\remindmetest.db";

public static string pollPath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\polltest.db";
#else
public static string pollPath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\polltest.db";
#else
public static string quotePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Release\\quotes.db";

public static string quotePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\quotes.db";
public static string remindMePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Release\\remindme.db";

public static string remindMePath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\remindme.db";

public static string pollPath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Debug\\poll.db";
#endif
}
public static string pollPath = Path.GetDirectoryName(Path.GetDirectoryName
(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase))).Remove(0, 6) + "\\bin\\Release\\poll.db";
#endif
}
}

0 comments on commit 0d762a4

Please sign in to comment.