-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
20 lines (16 loc) · 552 Bytes
/
Makefile
File metadata and controls
20 lines (16 loc) · 552 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
build-macos:
cargo build --release
cp-macos:
cp target/release/libbrcode.dylib ./
cp target/release/libbrcode.dylib clj-brcode/
cp target/release/libbrcode.dylib dartbrcode/
cp target/release/libbrcode.dylib jvm-brcode/
build-linux:
cargo build --release
cp-linux:
cp target/release/libbrcode.so ./
cp target/release/libbrcode.so clj-brcode/
cp target/release/libbrcode.so dartbrcode/
cp target/release/libbrcode.so jvm-brcode/
build: build-macos
DOCKER_BUILDKIT=1 docker build --file Dockerfile --output out . || cp out/libbrcode.so ./