-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Makefile for autodeploy and create the base arbo
- Loading branch information
1 parent
fb8f32a
commit b7a7a0b
Showing
3 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Variables | ||
BACKEND_DIR=backend | ||
BACKEND_BINARY=backend | ||
|
||
# Règles | ||
all: build-backend start-backend | ||
|
||
build-backend: | ||
@echo "Building backend..." | ||
cd $(BACKEND_DIR) && go build -o $(BACKEND_BINARY) | ||
|
||
start-backend: | ||
@echo "Starting backend..." | ||
cd $(BACKEND_DIR) && ./$(BACKEND_BINARY) | ||
|
||
.PHONY: all build-backend start-backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Title</title> | ||
</head> | ||
<body> | ||
coucou | ||
</body> | ||
</html> |