forked from naomijub/wooridb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (20 loc) · 761 Bytes
/
Makefile
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
setup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
run:
cargo package --manifest-path wql/Cargo.toml
cargo run --manifest-path woori-db/Cargo.toml --release -- -C opt-level="s"
release:
cargo package --manifest-path wql/Cargo.toml
cargo run --manifest-path woori-db/Cargo.toml --release
debug:
cargo package --manifest-path wql/Cargo.toml
cargo run --manifest-path woori-db/Cargo.toml
json:
cargo package --manifest-path wql/Cargo.toml
cargo run --manifest-path woori-db/Cargo.toml --release --features json
history:
cargo package --manifest-path wql/Cargo.toml
cargo run --manifest-path woori-db/Cargo.toml --release --features history
push:
docker build -t naomijubs/wooridb:$(tag) .
docker push naomijubs/wooridb:$(tag)