kaaveland / eugene

Careful With that Lock, Eugene
MIT License
32 stars 1 forks source link

Let eugene filter out unmodified scripts using git #100

Closed kaaveland closed 3 months ago

kaaveland commented 3 months ago

By passing -g main, eugene lint and eugene trace can ignore scripts that are identical on the main branch. This makes it much easier to use eugene in CI, since it can do something useful on feature branches. -g accepts an arbitrary gitref expression such as a tag or HEAD~100 etc. For now it defaults to being disabled.

Feels like this is going to be as close as we're getting to #89 and #35, which are both fundamentally about the same thing. Need to document this before we merge it.

kaaveland commented 3 months ago

Remaining: