Cleanup
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 15 May 2017 09:00:42 +0000 (11:00 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Mon, 15 May 2017 09:00:42 +0000 (11:00 +0200)
Makefile
README.md

index 6f9f990..210b44b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,11 +38,10 @@ VERBOSE_2 := -v -x
 
 all: build webapp
 
-build: build/xds
+.PHONY: build
+build: xds
 
-xds: build/xds
-
-build/xds: vendor scripts
+xds:vendor scripts
        @echo "### Build XDS server (version $(VERSION))";
        @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-server -ldflags "-X main.AppVersionGitTag=$(VERSION)" .
 
@@ -63,14 +62,11 @@ debug: build/xds webapp/debug tools/syncthing
 
 .PHONY: clean
 clean:
-       rm -rf $(LOCAL_BINDIR)/* debug cmd/*/debug $(ROOT_GOPRJ)/pkg/*/$(REPOPATH)
+       rm -rf $(LOCAL_BINDIR)/* debug $(ROOT_GOPRJ)/pkg/*/$(REPOPATH)
 
 .PHONY: distclean
 distclean: clean
-       rm -rf $(LOCAL_BINDIR) tools glide.lock vendor cmd/*/vendor webapp/node_modules webapp/dist
-
-run3:
-       goreman start
+       rm -rf $(LOCAL_BINDIR) tools glide.lock vendor webapp/node_modules webapp/dist
 
 webapp: webapp/install
        (cd webapp && gulp build)
@@ -111,7 +107,6 @@ help:
        @echo "Main supported rules:"
        @echo "  build               (default)"
        @echo "  build/xds"
-       @echo "  release"
        @echo "  clean"
        @echo "  distclean"
        @echo ""
index 92be1c8..789a367 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# XDS - X(cross) Development System
+# XDS - X(cross) Development System Server
 
 XDS-server is a web server that allows user to remotely cross build applications.