-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Better export.ps1 (IDFGH-14425) #15205
Conversation
Now, if you want to add this ps1 file to the $PATH without adding other scripts, like install.ps1, you can now just drag it in some empty directory and add it to the $PATH. Just define $IDF_PATH. Suggestion to define $IDF_PATH was already in the script, but It didn't work because $IDF_PATH was just set to the root of the script ("$PSScriptRoot"). I also added more "clean" exit out of a script - it won't just scrap $IDF_PATH enviroment variable if it didn't find python scripts.
👋 Hello SaintFTS, we appreciate your contribution to this project! 📘 Please review the project's Contributions Guide for key guidelines on code, documentation, testing, and more. 🖊️ Please also make sure you have read and signed the Contributor License Agreement for this project. Click to see more instructions ...
Review and merge process you can expect ...
|
Now, if you want to add this ps1 file to the $PATH without adding other scripts, like install.ps1, you can now just drag it in some empty directory and add it to the $PATH. Just define $IDF_PATH. Suggestion to define $IDF_PATH was already in the script, but It didn't work because $IDF_PATH was just set to the root of the script ("$PSScriptRoot"). I also added more "clean" exit out of a script - it won't just scrap $IDF_PATH enviroment variable if it didn't find python scripts.
Description
Related
Testing
Checklist
Before submitting a Pull Request, please ensure the following: