Update timestamp only if there are other changes
sharpner opened this issue · comments
Nino commented
Hi!
Is there a way to make the asset generation idempotent so that it won't update the timestamp in the assets file if there are no other changes within the data?
My configuration looks like this:
pkg: assets
dest: "."
fmt: true
output: assets.go
updater:
enabled: false
custom:
- files:
- "./data/*.jpeg"
base: "./data/"
UnnoTed commented
Sorry, didn't mean to close it.
Check the changelog: https://github.com/UnnoTed/fileb0x/blob/master/CHANGELOG.md
run
go get -u github.com/UnnoTed/fileb0x
and check if it's ok now, it shouldn't be changing anything if no changes to the files or config has been made.
Nino commented
works like a charm!
Thank you for the quick response and the fix :)