-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 수정/빌드: build-all.sh 빌드를 실행하여 /release 경로에 압축된 배포파일을 생성 * 추가/파일: command, history 샘플 파일을 추가
- Loading branch information
Showing
5 changed files
with
88 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
npm run build-all | ||
rm wscmd | ||
|
||
cp wscmd-macos wscmd | ||
mkdir release | ||
cd release | ||
|
||
cp ../wscmd-macos wscmd | ||
zip wscmd-macos.zip wscmd | ||
rm wscmd | ||
|
||
cp wscmd-linux wscmd | ||
cp ../wscmd-linux wscmd | ||
zip wscmd-linux.zip wscmd | ||
rm wscmd | ||
|
||
cp wscmd-win.exe wscmd.exe | ||
cp ../wscmd-win.exe wscmd.exe | ||
zip wscmd-win.zip wscmd.exe | ||
rm wscmd.exe | ||
|
||
ls -lh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
sub+: '{"command":"subscribe","topic":"/myhome/grandfloor/+room/temperature"}' | ||
sub#: '{"command":"subscribe","topic":"/myhome/grandfloor/#"}' | ||
sub-kitchen: '{"command":"subscribe","topic":"/myhome/grandfloor/kitchen/temperature"}' | ||
sub-bedroom: '{"command":"subscribe","topic":"/myhome/grandfloor/bedroom/temperature"}' | ||
unsub+: '{"command":"unsubscribe","topic":"/myhome/grandfloor/+room/temperature"}' | ||
unsub#: '{"command":"unsubscribe","topic":"/myhome/grandfloor/#"}' | ||
unsub-kitchen: '{"command":"unsubscribe","topic":"/myhome/grandfloor/kitchen/temperature"}' | ||
unsub-bedroom: '{"command":"unsubscribe","topic":"/myhome/grandfloor/bedroom/temperature"}' | ||
pub-kitchen: '{"command":"publish","topic":"/myhome/grandfloor/kitchen/temperature","message":"25 degree"}' | ||
pub-bedroom-on: '{"command":"publish","topic":"/myhome/grandfloor/bedroom/temperature","message":"28 degree","autoDelete":true}' | ||
pub-bedroom-off: '{"command":"publish","topic":"/myhome/grandfloor/bedroom/temperature","message":"28 degree","autoDelete":false}' | ||
pub-kitchen-reply: '{"command":"publish","topic":"/myhome/grandfloor/kitchen/temperature","message":"25 degree","reply":true}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
exit |