gomobile-tools
cmdrunner
- Build
./cmd/server
on target machine (ex. MacOS, Linux). - Build
./cmd/client
on development machine. - Run
./server -a 'ip:port' -h '/absolute/path/to/project'
- Run
COMMAND_RUNNER_ADDR=ip:port client make
. this command will runmake
at the target project.
debuglogger
- Build&Run
./cmd/server -a 'ip:port'
- Import
github.com/kdada/gomobile-tools/debuglogger/pkg/remote
- Call
remote.SetDebugLogger("ip:port")
infunc init
- All logs to
log
will redirect to the server.