Skip to content

Commit 2ada87a

Browse files
committed
update. fuse debug
1 parent e86e1a4 commit 2ada87a

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

.github/workflows/release.yaml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,12 @@ jobs:
7676
ext=".exe"
7777
fi
7878
79-
for cmd in lssh lscp lsftp lssync lsdiff lsshfs lsmon lsshell lsmux lspipe; do
79+
cmds="lssh lscp lsftp lssync lsdiff lsmon lsshell lsmux lspipe"
80+
if [ "${GOOS}" != "windows" ]; then
81+
cmds="${cmds} lsshfs"
82+
fi
83+
84+
for cmd in ${cmds}; do
8085
go build -o "dist/bin/${cmd}${ext}" "./cmd/${cmd}"
8186
done
8287
@@ -105,17 +110,35 @@ jobs:
105110
case "$1" in
106111
full) echo "Full lssh suite with SSH, transfer, monitoring, and parallel shell tools." ;;
107112
core) echo "Core SSH client package for the lssh suite." ;;
108-
transfer) echo "Transfer, diff, and mount tools package for the lssh suite, including lscp, lsftp, lssync, lsdiff, and lsshfs." ;;
113+
transfer)
114+
if [ "$GOOS" = "windows" ]; then
115+
echo "Transfer and diff tools package for the lssh suite, including lscp, lsftp, lssync, and lsdiff."
116+
else
117+
echo "Transfer, diff, and mount tools package for the lssh suite, including lscp, lsftp, lssync, lsdiff, and lsshfs."
118+
fi
119+
;;
109120
monitor) echo "Monitoring tools package for the lssh suite, including lsmon." ;;
110121
sysadmin) echo "Sysadmin tools package for the lssh suite, including lsshell, lsmux, and lspipe." ;;
111122
esac
112123
}
113124
114125
package_binaries() {
115126
case "$1" in
116-
full) echo "lssh lscp lsftp lssync lsdiff lsshfs lsmon lsshell lsmux lspipe" ;;
127+
full)
128+
if [ "$GOOS" = "windows" ]; then
129+
echo "lssh lscp lsftp lssync lsdiff lsmon lsshell lsmux lspipe"
130+
else
131+
echo "lssh lscp lsftp lssync lsdiff lsshfs lsmon lsshell lsmux lspipe"
132+
fi
133+
;;
117134
core) echo "lssh" ;;
118-
transfer) echo "lscp lsftp lssync lsdiff lsshfs" ;;
135+
transfer)
136+
if [ "$GOOS" = "windows" ]; then
137+
echo "lscp lsftp lssync lsdiff"
138+
else
139+
echo "lscp lsftp lssync lsdiff lsshfs"
140+
fi
141+
;;
119142
monitor) echo "lsmon" ;;
120143
sysadmin) echo "lsshell lsmux lspipe" ;;
121144
esac

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ For the detailed setup, see [`local bashrc`](./cmd/lssh/README.md#local-bashrc).
5151

5252
Beyond interactive SSH login, `lssh` also supports:
5353

54-
- NFS reverse forwarding for mounting a local directory on a remote server
55-
- SMB dynamic / reverse dynamic forwarding
54+
- NFS & SMB reverse forwarding for mounting a local directory on a remote server
5655
- SSH local / remote port forwarding
5756
- SOCKS5 and HTTP dynamic forwarding
5857
- X11 forwarding

0 commit comments

Comments
 (0)