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)" .
.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)
@echo "Main supported rules:"
@echo " build (default)"
@echo " build/xds"
- @echo " release"
@echo " clean"
@echo " distclean"
@echo ""
-# 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.