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.

21 lines
445 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/
cp server/config.example.toml release/config.toml
3 years ago
server:
cd server;cargo build --release --target x86_64-unknown-linux-musl
client client/dist:
cd client;yarn install;yarn build
3 years ago
clean:
rm -r release
rm -r client/dist
rm -r server/target/release
.PHONY: server client all