Skip to content

Commit 87c2e6d

Browse files
committed
add Makefile
1 parent d7e7560 commit 87c2e6d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Makefile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
all: build run
3+
4+
build: src/main.rs
5+
DB_URL='postgres://postgres:postgres@localhost:5432/postgres' \
6+
cargo build --release
7+
8+
run:
9+
./target/release/rust-crud-api
10+
11+
12+
clean:
13+
rip ./target

0 commit comments

Comments
 (0)