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
445 B
20 lines
445 B
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 |
|
|
|
|
|
server: |
|
cd server;cargo build --release --target x86_64-unknown-linux-musl |
|
|
|
client client/dist: |
|
cd client;yarn install;yarn build |
|
|
|
clean: |
|
rm -r release |
|
rm -r client/dist |
|
rm -r server/target/release |
|
|
|
.PHONY: server client all
|
|
|