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
Sometimes I want to skip execution of some tasks, if command's checksum from last run is not changed.
Example: before each npm run smth I want to run npm i. But if package.json and package.lock is not changed, I do not need to run npm i
So, in lets.yaml I want to past smth like this and as a result, omit running task
As you can see, in lets.yaml I added in cmd install_deps property only. It will allow to execute install_deps.cmd only if checksum for this cmd changed.
So, what we need to implement:
Persistant saving of checksums into file
Reading saved checksum for command
Updating of after cmd successful execution
Skip command invocation, if new and saved checksum are equal
The text was updated successfully, but these errors were encountered:
Sometimes I want to skip execution of some tasks, if command's checksum from last run is not changed.
Example: before each
npm run smth
I want to runnpm i
. But ifpackage.json
andpackage.lock
is not changed, I do not need to runnpm i
So, in
lets.yaml
I want to past smth like this and as a result, omit running taskNew lets.yaml
As you can see, in
lets.yaml
I added in cmdinstall_deps
propertyonly
. It will allow to executeinstall_deps.cmd
only if checksum for this cmd changed.So, what we need to implement:
The text was updated successfully, but these errors were encountered: