rossabaker / abolish-ice-graphiti

Script to make your GitHub contribution graph read "abolish ice"
Creative Commons Zero v1.0 Universal
16 stars 6 forks source link

Support BSD `date` command (and OS X) #16

Closed wolfwood closed 4 years ago

wolfwood commented 4 years ago

abstract out calls to the date command into wrapper functions that can provide platform-specific behavior.

place platform check and functions in a script that can be source'd by raster.sh and paint.sh.

@lindsaylevine has discovered that the current approach doesn't work on OS X because GNU date and BSD date are different. reported in #8

rossabaker commented 4 years ago

I don't have access to test this, but it looks like a solution is emerging on #8. Would be happy to accept a PR on this.

wolfwood commented 4 years ago

yeah, just made this as a placeholder til I have a commit for a PR