Bo-Yi Wu
e4f03f3543
build: enhance build process and testing across environments
...
- Add a new `all` target to the Makefile
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2025-04-15 10:35:36 +08:00
appleboy
419eff8b22
build: revamp make targets and update build instructions
...
- Replace `make build_linux_amd64` and `make build_linux_arm64` with `make build_docker`
- Add a help target with usage instructions and target descriptions
- Update `fmt` to install the latest version of `gofumpt`
- Add descriptions for `vet`, `fmt-check`, `test`, `install`, `build`, `ssh-server`, and `clean` targets
- Remove several build targets (`amd64`, `i386`, `arm64`, `arm`)
- Remove the `coverage` and `version` targets
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-04-14 14:12:46 +08:00
appleboy
12827c56e5
refactor(makefile): simplify and clean up Makefile for streamlined builds
...
- Remove redundant `DIST` variable declaration
- Update `GOFMT` command to include `-s` and `-w` flags
- Remove `SHASUM` variable declaration
- Remove `XGO_PACKAGE` and `XGO_VERSION` variable declarations
- Remove `GXZ_PAGAGE` variable declaration
- Remove architecture-specific variables (`LINUX_ARCHS`, `DARWIN_ARCHS`, `WINDOWS_ARCHS`)
- Remove `.PHONY` targets and associated rules for `deps-backend`, `release`, `release-windows`, `release-linux`, `release-darwin`, `release-copy`, `release-check`, and `release-compress`
- Simplify the `Makefile` by removing complex release-related commands and dependencies
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-10-28 21:01:40 +08:00
Bo-Yi Wu
fe4a745be0
feat: enhance plugin networking capabilities support IPV6 ( #191 )
...
* feat: enhance plugin networking capabilities
- Enable SSH server to listen on all interfaces by uncommenting relevant lines in `sshd_config`
- Add new `protocol` and `proxy.protocol` flags to `main.go` with usage information and default values
- Change the `Port` field type from `string` to `int` in `plugin.go` and `plugin_test.go`
- Refactor variable name from `host` to `h` and add `port` variable in `plugin.go` loop
- Remove commented-out code and refactor `hostPort` function in `plugin.go`
- Add import for `io` package in `plugin_test.go`
- Add new test function `TestPlugin_hostPort` with multiple test cases in `plugin_test.go`
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* update
Signed-off-by: appleboy <appleboy.tw@gmail.com>
* update
Signed-off-by: appleboy <appleboy.tw@gmail.com>
* update
Signed-off-by: appleboy <appleboy.tw@gmail.com>
---------
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-06-01 11:40:23 +08:00
appleboy
e5bd02fd8e
chore: update build process to output executables to bin directory
...
- Add `bin` to the `.gitignore` file
- Change the build command in the `Makefile` to output the executable to the `bin` directory
Signed-off-by: appleboy <appleboy.tw@gmail.com>
2023-12-24 20:05:24 +08:00
Bo-Yi.Wu
6a4996cd63
chore(CI): update makefile
...
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-12-29 21:05:12 +08:00
Bo-Yi Wu
55cde9a13c
fix: missing installed version
2022-06-15 21:51:42 +08:00
Bo-Yi Wu
8f4c7fa15b
fix(ssh): OpenSSH 8.8+ RSA keys incompatibility ( #136 )
2022-06-15 15:28:13 +08:00
Bo-Yi Wu
8ed049422b
chore(binary): unsupported GOOS/GOARCH pair darwin/386
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-10-23 18:43:22 +08:00
Bo-Yi Wu
ac8ff855ae
chore: update ssh server
2020-05-21 23:09:10 +08:00
Bo-Yi Wu
8e4a3f5e0c
chore(makefile): remove GOPACKAGE variable
2020-02-01 00:41:34 +08:00
Bo-Yi Wu
177625c6e7
chore: support passphrase ( #107 )
...
* chore: support passphrase
2020-01-20 22:34:16 +08:00
Bo-Yi Wu
c8dbddab25
chore: support -arch=
2019-09-28 14:14:15 +08:00
Bo-Yi Wu
a82a76903c
fix: ssh config
2019-03-03 00:07:55 +08:00
Bo-Yi Wu
a2e6a07e44
feat: switch from govender to module.
2019-03-02 23:52:35 +08:00
Bo-Yi Wu
b3f09b7592
refactor(lint): replace tool
2019-01-18 22:58:17 +08:00
Bo-Yi Wu
ceb2b47958
feat(docker): suport arm arm64 image
2017-12-22 12:43:46 +08:00
Bo-Yi Wu
acc220475c
fix: Add build number.
2017-12-22 11:41:04 +08:00
Bo-Yi Wu
5bf5231d41
remove arm alpine arm64 i386 image.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-12-22 11:24:11 +08:00
Bo-Yi Wu
41ace25862
feat(docker): suport arm arm64 alpine i386 image ( #77 )
2017-12-22 10:52:42 +08:00
Bo-Yi Wu
7c9b1d8b79
refactor: update gofmt check command. ( #71 )
2017-05-22 11:09:42 +08:00
Bo-Yi Wu
464f0edc7e
feat: add fmt check command. ( #56 )
2017-04-02 19:59:50 +08:00
Bo-Yi Wu
ef521d1e98
refactor: hash is a much faster shell-builtin alternative to which. ( #43 )
2017-02-27 22:08:26 +08:00
Bo-Yi Wu
496e23a7e9
feat: improve coverage for easyssh ( #42 )
...
* feat: improve coverage for easyssh
2017-02-14 15:23:41 +08:00
Bo-Yi Wu
6179afcde8
test: improve code coverage for easyssh. ( #39 )
...
* test: improve code coverage.
* feat: test password
2017-02-14 12:33:19 +08:00
Bo-Yi Wu
79f352a5fa
refactor: remove glide from drone config ( #36 )
...
* refactor: remove glide from drone config
2017-02-13 10:29:42 +08:00
Bo-Yi Wu
6472931282
refactor: add ssh-server command. ( #28 )
2017-02-04 17:35:31 +08:00
Bo-Yi Wu
bb6e686f9a
feat: initial easyssh testing. ( #27 )
2017-02-04 17:21:42 +08:00
Bo-Yi Wu
e5ead0fb9c
feat: Add unconvert command
2017-01-28 11:41:52 +08:00
Bo-Yi Wu
2704d9d275
fix: Enforce custom LDFLAGS within makefile
2017-01-17 10:37:41 +08:00
Bo-Yi Wu
b69d758088
feat: support windows ( #20 )
2017-01-03 16:22:06 +08:00
Bo-Yi Wu
df18b64cb4
fix fmt command.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-31 13:30:36 +08:00
Bo-Yi Wu
eddd7a9661
[ci skip] remove windows support.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-30 15:12:36 +08:00
Bo-Yi Wu
5f176416d7
add ssh server for alpine.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-30 12:38:44 +08:00
Bo-Yi Wu
debd2db692
hide codecov token
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-28 11:54:13 +08:00
Bo-Yi Wu
dd7f593c06
fix makefile.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-28 11:43:26 +08:00
Bo-Yi Wu
d31fe06287
add badge.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-28 11:25:35 +08:00
Bo-Yi Wu
9384d1261d
add coverage command.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-28 11:23:06 +08:00
Bo-Yi Wu
4fc0ebcd98
update tool
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-28 11:02:31 +08:00
Bo-Yi Wu
7cd8855a53
remove --rm flag
2016-11-28 16:37:33 +08:00
Bo-Yi Wu
7dfdbbde89
add version command.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-19 21:21:37 +08:00
Bo-Yi Wu
6731fdf7af
rename sftp to scp.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-19 14:02:49 +08:00
Bo-Yi Wu
b2e4805d89
initial projects.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-18 10:04:15 +08:00