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

--output-dir option #10

Open
delasy opened this issue May 4, 2023 · 1 comment
Open

--output-dir option #10

delasy opened this issue May 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@delasy
Copy link
Member

delasy commented May 4, 2023

When running a file, file's SCRIPT_PATH changes because compiled file is placed within CWD.
Need to provide a way to set output directory, you can just use output path, but then you would have to provide different file extensions for different platforms exe|app|out. Output directory is respected only if (output path is not specified or it's specified and has no path separators in it /|\).

@delasy delasy added the bug Something isn't working label May 4, 2023
@delasy delasy added this to the v0.14 milestone May 4, 2023
@delasy delasy self-assigned this May 4, 2023
@delasy delasy modified the milestones: v0.14, v1.0 Sep 2, 2023
@delasy
Copy link
Member Author

delasy commented Sep 8, 2023

or we can read file path and extract dirname, and set output directory default to dirname of output path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant