Revert "Use native shell commands for clean/clean-all" #170

Merged
norm merged 3 commits from revert-native-clean into main 2022-09-23 22:15:30 +00:00
Owner

This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.

Doing a bit of additional reseearch, I learned that the && and || operators do work on Windows since node uses cmd.exe and not Powershell like I initially thought.

This reverts commit 5fb294e7d7c3cc4e638993659644923b200cefae. This will allow the clean/clean-all command to work on Windows once again. Doing a bit of additional reseearch, I learned that the `&&` and `||` operators do work on Windows since node uses `cmd.exe` and not Powershell like I initially thought.
norm added 1 commit 2022-09-22 19:10:40 +00:00
Revert "Use native shell commands for clean/clean-all"
Some checks failed
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
d9a64d0a22
This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.
Contributor

If you are using rmSync, why are you putting it in async closures?

If you are using rmSync, why are you putting it in async closures?
Author
Owner

That's what the original scripts did. Maybe I'll look at using the fs/promises api instead

That's what the original scripts did. Maybe I'll look at using the `fs/promises` api instead
Contributor

Tbh promises or not, you just don't have to wrap it in a function execution I think? Cause there's nothing asynchronous here

Tbh promises or not, you just don't have to wrap it in a function execution I think? Cause there's nothing asynchronous here
Author
Owner

fair, I'm just gonna remove the async wrapper stuff for now

fair, I'm just gonna remove the async wrapper stuff for now
norm added 1 commit 2022-09-23 15:02:40 +00:00
Make clean scripts non-async
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
b90f910926
Since they use rmSync, the async stuff doesn't really do anything useful.
norm added 1 commit 2022-09-23 15:48:54 +00:00
Remove 'recursive: true' from removing tsbuildinfo
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/test Pipeline was successful
fa0dce6439
norm merged commit 9470e12424 into main 2022-09-23 22:15:30 +00:00
norm deleted branch revert-native-clean 2022-09-23 22:15:30 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#170
No description provided.