Elixir mix auto acknowledge

后端 未结 2 1778
迷失自我
迷失自我 2021-02-19 10:37

I want to run tests of my Phoenix app on Travis-CI.

Log excerpt:

$ MIX_ENV=test mix do deps.get, compile, test

Could not find hex, which is needed to bu         


        
2条回答
  •  孤街浪徒
    2021-02-19 11:00

    As with any unix command, you could pipe yes into the mix command:

    yes | MIX_ENV=test mix do deps.get, compile, test
    

提交回复
热议问题