phoenixframework / tailwind

An installer for tailwind
MIT License
475 stars 61 forks source link

tailwind 3.1.7 does not exist, plugin not required in top of generate… #47

Closed kevinlang closed 2 years ago

kevinlang commented 2 years ago

…d config

Hit these issues when installing this for a new project. Tests still do not pass, even with these changes.

1) test updates on install (TailwindTest)
     test/tailwind_test.exs:33
     Assertion with == failed
     code:  assert Tailwind.run(:default, ["--help"]) == 0
     left:  137
     right: 0
     stacktrace:
       (ex_unit 1.13.4) lib/ex_unit/capture_io.ex:272: ExUnit.CaptureIO.do_capture_gl/2
       (ex_unit 1.13.4) lib/ex_unit/capture_io.ex:230: ExUnit.CaptureIO.do_with_io/3
       (ex_unit 1.13.4) lib/ex_unit/capture_io.ex:106: ExUnit.CaptureIO.capture_io/1
       test/tailwind_test.exs:37: (test)

  2) test run with pre-existing app.css (TailwindTest)
     test/tailwind_test.exs:27
     Assertion with == failed
     code:  assert Tailwind.run(:default, []) == 0
     left:  137
     right: 0
     stacktrace:
       (ex_unit 1.13.4) lib/ex_unit/capture_io.ex:272: ExUnit.CaptureIO.do_capture_gl/2
       (ex_unit 1.13.4) lib/ex_unit/capture_io.ex:230: ExUnit.CaptureIO.do_with_io/3
       (ex_unit 1.13.4) lib/ex_unit/capture_io.ex:106: ExUnit.CaptureIO.capture_io/1
       test/tailwind_test.exs:28: (test)
chrismccord commented 2 years ago

This has been fixed in 0.1.8. Thanks!