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

Added Integration Test Hotkey #114

Merged
merged 1 commit into from May 13, 2024
Merged

Added Integration Test Hotkey #114

merged 1 commit into from May 13, 2024

Conversation

DavidLambauer
Copy link
Contributor

No description provided.

@Vinai
Copy link
Contributor

Vinai commented May 13, 2024

Hey David,

thanks for the PR! I think there may be a commit missing? It only adds the hotkey to the readme, not the actual code.

@DavidLambauer
Copy link
Contributor Author

Heya! This is correct. The feature already exists 🙈 Only the readme was missing
CleanShot 2024-05-13 at 09 47 50@2x

@Vinai
Copy link
Contributor

Vinai commented May 13, 2024

Well, look at that, you are right. I completely forgot about that!

(defn- process-key [base-dir key]
  (log/debug "Key pressed:" key)
  (check-abort key)
  (when-let [types (get key->cachetypes key)]
    (cache/clean-cache-types types))
  (doseq [area (get key->static-content-areas key)]
    (static-content/clean base-dir area))
  (when (= key-generated-code key)
    (magento.generated-code/clean base-dir))
  (when (= key-integration-tests-sandboxes key)
    (magento.integration-tests/clean base-dir)))

@Vinai Vinai merged commit 20c7295 into mage2tv:master May 13, 2024
@Vinai
Copy link
Contributor

Vinai commented May 13, 2024

Thank you!

@Vinai
Copy link
Contributor

Vinai commented May 13, 2024

Released as 1.0.53

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

Successfully merging this pull request may close these issues.

None yet

2 participants