Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..ae396706
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+
+all: build
+
+init:
+ # create dirs
+ mkdir -p ./build
+
+clear:
+ # clear dirs
+ rm -rf ./build
+
+build: clear init
+ # build
+ go build -o ./build/x-ui ./cmd/x-ui/main.go \ No newline at end of file