You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all preconditions right now there is an sh (for command) and msg.
My suggestion is to add platforms to the preconditions, as this would greatly simplify creating different, sometimes somewhat complex commands to test for them. Yes, I am aware that I can achieve the same using some if-else template or by including external OS-specific taskfile, but in my case that grow into something like 500 character line to achieve a goal of creating different precondition script for different platform. When I realized that it would be so much simpler with a simple platforms clause...
How I would like to see it? Example (commands are just provides as is, doesn't matter if they would work or not):
For all preconditions right now there is an
sh
(for command) andmsg
.My suggestion is to add
platforms
to the preconditions, as this would greatly simplify creating different, sometimes somewhat complex commands to test for them. Yes, I am aware that I can achieve the same using some if-else template or by including external OS-specific taskfile, but in my case that grow into something like 500 character line to achieve a goal of creating different precondition script for different platform. When I realized that it would be so much simpler with a simpleplatforms
clause...How I would like to see it? Example (commands are just provides as is, doesn't matter if they would work or not):
The text was updated successfully, but these errors were encountered: