Hastic standalone
https://hastic.io
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
380 B
20 lines
380 B
3 years ago
|
all: server client
|
||
|
mkdir release
|
||
|
cp server/target/x86_64-unknown-linux-musl/release/hastic release
|
||
|
mkdir release/public
|
||
|
cp -r client/dist/* release/public/
|
||
|
|
||
|
|
||
|
server:
|
||
|
cd server;cargo build --release --target x86_64-unknown-linux-musl
|
||
|
|
||
|
client client/dist:
|
||
|
cd client;yarn build
|
||
|
|
||
|
clean:
|
||
|
rm -r release
|
||
|
rm -r client/dist
|
||
|
rm -r server/target/release
|
||
|
|
||
|
.PHONY: server client all
|