-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·47 lines (36 loc) · 868 Bytes
/
Makefile
File metadata and controls
executable file
·47 lines (36 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env bash
default: start
clean:
echo "============== Clean app";
mvn clean;
clean-db:
rm -rf ./stats.db;
rm -rf ./config.db;
rm -rf twitter.log;
log:
echo "============== Tail logs for app";
tail -f ./twitter.log;
start:
echo "============== Compiling app";
mvn compile;
echo "============== Starting app";
mvn exec:java;
docker-build:
echo "============== Building Docker";
sudo docker build -t biever-tweets .
docker-run:
echo "============== Building Docker";
sudo docker run biever-tweets mvn exec:java
test: clean
mvn compile;
echo "============== Testing app";
mvn test;
test-integration: clean
mvn compile;
echo "============== Testing app - IT Tests";
mvn test -P IntegrationTests;
test-unit: clean
mvn compile;
echo "============== Testing app - Unit Tests";
mvn test -P UnitTests;
.PHONY: start, clean, test, log