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

Fix custom tasks #1238

Merged
merged 1 commit into from
Aug 5, 2024
Merged

Fix custom tasks #1238

merged 1 commit into from
Aug 5, 2024

Conversation

radurentea
Copy link
Collaborator

@radurentea radurentea commented Jul 3, 2024

Description

This is a fix for the custom tasks

Fixes #1232
Fix #1244

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Steps to test this pull request

  1. Open a project
  2. Add a custom task to
    • go to .vscode folder inside the project and open settings.json
    • add the following line: "idf.preBuildTask": "echo 'Pre-build task executed!'"
  3. Build the project

In the Pre-build tab, you should see the following:
image

How has this been tested?

As described above, for all shells with and without white spaces inside ESP-IDF's path and project's path

Test Configuration:

  • ESP-IDF Version: 5.2.2
  • OS (Windows,Linux and macOS): Windows 11

Checklist

  • PR Self Reviewed
  • Applied Code formatting
  • Added Documentation
  • Added Unit Test
  • Verified on all platforms - Windows,Linux and macOS

The modifications for white spaces were not needed here.
@radurentea radurentea requested a review from brianignacio5 July 3, 2024 13:16
@radurentea radurentea self-assigned this Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

Download the artifacts for this pull request:

@brianignacio5
Copy link
Collaborator

Hi @AndriiFilippov, PTAL

@brianignacio5 brianignacio5 added this to the v1.8.1 milestone Jul 8, 2024
Copy link
Collaborator

@brianignacio5 brianignacio5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link

Pull request has been marked as stale since there are no activities, and this will be closed in 5 days if there are no further activities

@github-actions github-actions bot added the stale Stale PR or Issue label Jul 25, 2024
@brianignacio5 brianignacio5 removed the stale Stale PR or Issue label Jul 29, 2024
@AndriiFilippov
Copy link
Collaborator

AndriiFilippov commented Aug 5, 2024

@radurentea hi !

Tested under:
OS - Windows 11

able to build, do see preBuild and postBuild tasks executed ✅
LGTM 👍

@radurentea radurentea merged commit d167d34 into master Aug 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants