tailwind
tailwind copied to clipboard
Add "skip-prepare" Option to Install
- This change adds a
--skip-prepare
option to the install mix task and passes anopts
Keyword
list to the install function for handling. If the skip option is true, theprepare_app_css
andprepare_app_js
functions will not be called. - It also moves the creation of
assets/css
intoprepare_app_css
so that the folder is not created unless necessary - It also updates the mix task to display some detail on the options in its usage statement, as well as to properly display the usage statement if an invalid usage is presented.
This fixes https://github.com/phoenixframework/tailwind/issues/44