Use + instead of a comma to separate mix tasks in port runner#153
Use + instead of a comma to separate mix tasks in port runner#153lpil merged 3 commits intolpil:masterfrom
+ instead of a comma to separate mix tasks in port runner#153Conversation
Adjust the cli command building code to use a plus instead of a comma as using commas to separate tasks is deprecated in elixir 1.19. Closes lpil#152
|
Are you able to get the docs to generate with latest Erlang and Elixir? I've been having problems which as preventing me from merging and publishing. |
|
Will have a look tonight. |
|
@lpil , There also was, another problem regarding the OTP 28 related changes for regexes (which I didn't notice until now because I was mainly targeting OTP 27). Anyway, compiled regexes now contain a reference which causes regex compilation results to be not directly comparable. On elixir or It seems that just amending the tests does the trick, as the compilation result is not compiled into a module attribute (which would cause issues with releases I guess), but is only used at runtime, and in a local development setting. Sadly the aesthetics seem to be a little worse (or the api surface would have to change from regexes to string patterns or functions returning regexes). Anyway, I also included fixes for those tests Please have a look. |
|
These changes are unrelated to exdoc, and tests don't get run when publishing a mix package to Hex. Are you sure this resolved the problem for you? |
|
I was able to generate the docs with $ mix hex.publish --dry-run
Building mix_test_watch 1.3.0
Dependencies:
file_system ~> 0.2 or ~> 1.0 (app: file_system)
App: mix_test_watch
Name: mix_test_watch
Files:
LICENCE
README.md
CHANGELOG.md
lib
lib/mix
lib/mix/tasks
lib/mix/tasks/test
lib/mix/tasks/test/watch.ex
lib/mix_test_watch.ex
lib/mix_test_watch
lib/mix_test_watch/runner.ex
lib/mix_test_watch/config.ex
lib/mix_test_watch/path.ex
lib/mix_test_watch/watcher.ex
lib/mix_test_watch/message_inbox.ex
lib/mix_test_watch/port_runner
lib/mix_test_watch/port_runner/port_runner.ex
priv
priv/zombie_killer
mix.exs
Version: 1.3.0
Build tools: mix
Description: Automatically run tests when files change
Licenses: MIT
Links:
Changelog: https://hexdocs.pm/mix_test_watch/changelog.html
GitHub: https://github.com/lpil/mix-test.watch
Elixir: ~> 1.5
Before publishing, please read the Code of Conduct: https://hex.pm/policies/codeofconduct
Publishing package to public repository hexpm.
Proceed? [Yn]
Building docs...
Generating docs...
View "html" docs at "doc/index.html"
View "epub" docs at "doc/mix test.watch.epub"
Local password:
Publishing package...
Publishing docs...Do you get a specific error on your side that I could use to investigate what could be amiss? |
|
@lpil , did you have any chance to try building the package again in the meantime? If you encounter any issues, I could try to help investigate. |
Adjust the cli command building code to use a plus instead of a comma as using commas to separate tasks is deprecated in elixir 1.19.
Closes #152