Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 805 Bytes

INFO-dont-save-css-files-at-this-level.md

File metadata and controls

15 lines (14 loc) · 805 Bytes

Warning

Don't save .css files at this level.

Explanation

  • On bash, ** globbing works the same as *, thus ./source/**/*.css only matches two levels deep (as opposed to any level deep in zsh).
  • This can be changed via shopt -s globstar, however, globstar is only available with version 4 of bash, and macOS ships with version 3.2 (as of 2024-11-19).
  • GitHub actions, used for building remotely, however, do not support zsh as option for the shell, and default to bash.
  • Thus, for ./source/**/*.css to behave consistently on zsh (local macOS) and on bash (used by GitHub Actions), we save all .css files exactly two levels deep.