Permalink
Browse files

Add beginnings of a command line client for wrench.

  • Loading branch information...
1 parent 210d792 commit 2a8b4fab59987691b0ce1904db4d559758a52806 @vargaz vargaz committed Jun 10, 2012
Showing with 1,781 additions and 2 deletions.
  1. +4 −2 Makefile
  2. +33 −0 MonkeyWrench.CmdClient/Makefile
  3. +1,339 −0 MonkeyWrench.CmdClient/Options.cs
  4. +23 −0 MonkeyWrench.CmdClient/README
  5. +382 −0 MonkeyWrench.CmdClient/WrenchCmdClient.cs
View
@@ -19,7 +19,7 @@ SVN_NO_EXEC_FILES = \
$(wildcard */Makefile) \
LICENSE \
README
-
+
SVN_EOL_FILES = $(SVN_EXEC_FILES) $(SVN_NO_EXEC_FILES)
svn:
@@ -28,7 +28,7 @@ svn:
svn ps svn:eol-style native $(SVN_EOL_FILES)
svn pd svn:executable $(SVN_NO_EXEC_FILES)
svn ps svn:executable $(SVN_EXEC_FILES)
-
+
all clean install:
@$(MAKE) -C SmartIrc4net $@
@$(MAKE) -C MonkeyWrench $@
@@ -39,6 +39,7 @@ all clean install:
@$(MAKE) -C MonkeyWrench.Builder $@
@$(MAKE) -C MonkeyWrench.Web.UI $@
@$(MAKE) -C MonkeyWrench.Web.WebService $@
+ @$(MAKE) -C MonkeyWrench.CmdClient $@
publish: install
@@ -51,6 +52,7 @@ build:
@$(MAKE) -C MonkeyWrench.Database all
@$(MAKE) -C MonkeyWrench.Database.Manager all
@$(MAKE) -C MonkeyWrench.Builder all
+ @$(MAKE) -C MonkeyWrench.CmdClient all
mono --debug class/lib/MonkeyWrench.Builder.exe
schedule update: all
@@ -0,0 +1,33 @@
+SOURCES = \
+ $(wildcard *.cs) \
+ $(wildcard */*.cs)
+
+TOPDIR = ..
+
+LIBRARY = wrenchcl.exe
+OUT_DIR = $(TOPDIR)/class/lib
+OUT = $(OUT_DIR)/$(LIBRARY)
+
+BUILDABLE_REFS = \
+ $(OUT_DIR)/Npgsql.dll \
+ $(OUT_DIR)/MonkeyWrench.dll
+
+BUILDABLE_REFS = \
+ $(OUT_DIR)/MonkeyWrench.dll \
+ $(OUT_DIR)/MonkeyWrench.DataClasses.dll
+
+REFERENCES = \
+ $(foreach ref,$(BUILDABLE_REFS),-r:$(ref)) \
+ -r:System.Web.Services.dll
+
+$(OUT): $(SOURCES) $(BUILDABLE_REFS)
+ @echo " DMCS $(LIBRARY)"
+ @dmcs -target:exe -debug:full -out:$@ $(SOURCES) $(REFERENCES)
+
+all: $(OUT)
+
+clean:
+ @rm -f $(OUT)*
+
+publish install: all
+ @:
Oops, something went wrong.

0 comments on commit 2a8b4fa

Please sign in to comment.