Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build ? #1

Open
changchichung opened this issue Nov 16, 2021 · 1 comment
Open

how to build ? #1

changchichung opened this issue Nov 16, 2021 · 1 comment

Comments

@changchichung
Copy link

I'm not able to build synology.cli . since you don't provide the binary files , can you please explain how to build ?

chchang@hqdc039:~/git/synology-cli/cli$ ls -lart
總用量 16
-rw-rw-r-- 1 chchang chchang  449 Nov 16 15:52 synology-cli.go
drwxrwxr-x 3 chchang chchang 4096 Nov 16 15:52 cmd
drwxrwxr-x 3 chchang chchang 4096 Nov 16 15:52 .
drwxrwxr-x 8 chchang chchang 4096 Nov 16 15:53 ..
chchang@hqdc039:~/git/synology-cli/cli$ go build synology-cli.go 
synology-cli.go:4:2: no required module provides package github.com/pwoelfle/synology-cli/cli/cmd: go.mod file not found in current directory or any parent directory; see 'go help modules'
synology-cli.go:5:2: no required module provides package github.com/pwoelfle/synology-cli/cli/cmd/downloadstation: go.mod file not found in current directory or any parent directory; see 'go help modules'
synology-cli.go:6:2: no required module provides package github.com/pwoelfle/synology-cli/cli/cmd/downloadstation/task: go.mod file not found in current directory or any parent directory; see 'go help modules'
synology-cli.go:7:2: no required module provides package github.com/pwoelfle/synology-cli/cli/cmd/downloadstation/task/add: go.mod file not found in current directory or any parent directory; see 'go help modules'
synology-cli.go:8:2: no required module provides package github.com/pwoelfle/synology-cli/cli/cmd/downloadstation/task/describe: go.mod file not found in current directory or any parent directory; see 'go help modules'
synology-cli.go:9:2: no required module provides package github.com/pwoelfle/synology-cli/cli/cmd/downloadstation/task/list: go.mod file not found in current directory or any parent directory; see 'go help modules'
chchang@hqdc039:~/git/synology-cli/cli$ 
@dodwmd
Copy link

dodwmd commented Oct 29, 2022

go mod init github.com/pwoelfle/synology-cli
cd cli
go build
mv cli synology-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants