-
Notifications
You must be signed in to change notification settings - Fork 900
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
add support for -C
flag to chdir before running
#4421
Labels
Comments
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Aug 20, 2024
Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Aug 20, 2024
Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Sep 6, 2024
Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Sep 10, 2024
…hanges directory) Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Sep 10, 2024
Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Sep 10, 2024
…hanges directory) Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
archie2x
added a commit
to archie2x/tinygo
that referenced
this issue
Sep 11, 2024
…hanges directory) Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
Fixed by 5abf1e9. Can I close? |
We generally close after the release that includes this fix is out. I'll tag this issue as "next-release" so it gets handled correctly. |
leongross
pushed a commit
to leongross/tinygo
that referenced
this issue
Sep 23, 2024
feature: Fix tinygo-org#4421: Add `-C DIR` flag Signed-off-by: Roger Standridge <9526806+archie2x@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Supported by big Go since 1.20 for all commands. It's helpful for scripting. Expected behavior:
cd's to argument
runs rest of command
tinygo run -C path/to/dir some_file.go # some_file.go is in path/to/dir
See
go help build
:The text was updated successfully, but these errors were encountered: