Skip to content

Commit 061df5d

Browse files
authored
rust mqtt-client change to mqrstt (#27)
close #26
1 parent 887dded commit 061df5d

File tree

9 files changed

+447
-136
lines changed

9 files changed

+447
-136
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ release-mac-x86_64:
1616
otool -L client/target/x86_64-apple-darwin/release/fornet-cli
1717
tar -C client/target/x86_64-apple-darwin/release/ -czvf release/fornet-mac-x86_64.tar.gz ./fornet ./fornet-cli
1818

19-
# brew install cmake wget
19+
# brew install wget
2020
release-mac-aarch64:
2121
mkdir protoc && cd protoc && wget https://github.com/protocolbuffers/protobuf/releases/download/v21.9/protoc-21.9-osx-aarch_64.zip && unzip protoc-21.9-osx-aarch_64.zip && sudo cp bin/protoc /usr/local/bin
2222
cp -r protoc/include/* protobuf/
@@ -40,7 +40,7 @@ release-linux-aarch64:
4040
release-linux:
4141
mkdir protoc && cd protoc && wget https://github.com/protocolbuffers/protobuf/releases/download/v21.9/protoc-21.9-linux-x86_64.zip && unzip protoc-21.9-linux-x86_64.zip && sudo cp bin/protoc /usr/bin
4242
cp -r protoc/include/* protobuf/
43-
sudo apt-get install -y build-essential libssl-dev cmake
43+
sudo apt-get install -y build-essential
4444
mkdir release
4545
cd client && cargo build --release --target=x86_64-unknown-linux-gnu
4646
strip client/target/x86_64-unknown-linux-gnu/release/fornet
@@ -52,6 +52,6 @@ release-backend:
5252
cd admin-web && npm ci && npm run build:prod && cd ../
5353
cp -r admin-web/build/ command/docker/backend/web
5454
cd backend && sbt universal:packageBin && cd ../
55-
mkdir release
55+
mkdir -p release
5656
cp backend/target/universal/app-*.zip release/
5757
cp backend/target/universal/app-*.zip command/docker/backend/app.zip && cd command/docker/backend && unzip app.zip && rm app.zip && mv app-* app

0 commit comments

Comments
 (0)