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
You still need a few golang dependencies for cross platform calls within your Task file:
tree for tree listing.
dir-cleaner for folder cleaning of test Goldens.
a decent golang replacement for "mkdir -p " and "rm -rf", but it can be avoided too.
Task files can do includes just like Make, and so the gio build can be turned into a task file and then included.
I think in the end this will all help to make testing using Goldens easier too.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I love makefiles, but it's just killing me in windows.
Task, Mage, mise, just - yep all the usual suspects But I reckon Task is best and its golang and we know it.
We can call it from CI, just like we call makefiles.
Here is a pretty decent example of a Taskfile. https://github.com/delaneyj/realworld-datastar/blob/main/Taskfile.yml with cascading build watch using the "sources" declaration.
You still need a few golang dependencies for cross platform calls within your Task file:
tree for tree listing.
dir-cleaner for folder cleaning of test Goldens.
a decent golang replacement for "mkdir -p " and "rm -rf", but it can be avoided too.
Task files can do includes just like Make, and so the gio build can be turned into a task file and then included.
I think in the end this will all help to make testing using Goldens easier too.
Beta Was this translation helpful? Give feedback.
All reactions