rakyll / statik

Embed files into a Go executable
Apache License 2.0
3.76k stars 224 forks source link

flag for ignoring file mode / permissions #95

Open y3llowcake opened 5 years ago

y3llowcake commented 5 years ago

Use of this flag can improve determinism of builds. In my employer's environment the use of git across linux/osx hosts can produce different results for the mode (particularity the 'group' and 'other' permission bits).

jcchavezs commented 5 years ago

I think this is a great addition, would you mind adding a unit test for this?

y3llowcake commented 5 years ago

I'd rather not add a unit test for 3 lines of code in a main package. If I was to add a test, how would you suggest I do that? Can you point me at a similar test case?

y3llowcake commented 4 years ago

Hi @jcchavezs can you point me at an existing test that I could use as a starting point?

reaVen- commented 3 years ago

Whatever happened to this? I'm seeing the same thing happen i.e diff between dev environments and build environments. can I help merge this?