Skip to content

Commit 3e724b3

Browse files
committed
chore: update makefile to add agent related stuff
1 parent ac66d9b commit 3e724b3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Variables:
22
DIST_DIR = swiftwave_service/dashboard/www
33
SUBMOD_DIR = dashboard
4+
AGENT_DIR = agent
45

56
main: build_service
67

@@ -12,3 +13,9 @@ build_service: | build_dashboard
1213

1314
install: build_service
1415
cp swiftwave /usr/bin/swiftwave
16+
17+
build_agent:
18+
cd $(AGENT_DIR) && go build -o swiftwave-agent .
19+
20+
install_agent: build_agent
21+
cp $(AGENT_DIR)/agent /usr/bin/swiftwave-agent

agent/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ docs
33
agent.db
44
agent.db-*
55
docs.txt
6-
agent
6+
agent
7+
swiftwave-agent

0 commit comments

Comments
 (0)