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

BUG: Building Ground Control exports Source Code along with Binaries #45

Open
bupd opened this issue Sep 11, 2024 · 1 comment
Open

Comments

@bupd
Copy link
Collaborator

bupd commented Sep 11, 2024

Expected Behaviour:

cmd: dagger call build --source=. --name=ground-control export --path=bin

  • above cmd should only produce Ground Control binaries inside bin directory.
  • should not have source code inside bin directory.

Actual Behaviour:

cmd: dagger call build --source=. --name=ground-control export --path=bin

  • produces binaries along with source code in bin directory.

problem-ground-control

Note:

This bug is only with ground-control. Satellite builds are working as expected.

@Mehul-Kumar-27
Copy link
Collaborator

Hey @bupd, the reason you're encountering this issue is that the --source argument in the Dagger call command expects the path to the main.go file. In the case of Ground Control, this would be ./ground-control."

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