Elixirに関するdalaのブックマーク (3)

  • elixir-phoenix-on-google-app-engine

    Where should you run your workload? It depends...Choosing the right infrastructure options to run your application is critical, both for the success of your application and for the team that is managing and developing it. This post breaks down some of the most important factors that you need to consider when deciding where you should run your stuff! What are these services?Compute Engine - Virtual

    elixir-phoenix-on-google-app-engine
    dala
    dala 2018/01/23
    GCPとか曖昧すぎる。GCEの説明見てみたら普通にインストールしてるだけだった。サービス設定まで一気にやってくれたらいいんだけどな。
  • Elixir1.6のformatterの挙動を観察してみた - Qiita

    Elixir1.6のformatterを使っているという記事を見かけたので羨ましくなって試してみた。 サイボウズLiveを作るで書いたコードを一括でformatterにかけてみた。今回対象にしたのはex, exsのみ。 リストやマップが綺麗に 自動生成されたデフォルトのmix.exs等のコードは変なリストの書き方だったので改善された。自動生成されたモデルのひどいcastも全部修正される。ちなみにリストやマップの最後にカンマがある場合は削除される。 [mod: {Cybozulive.Application, []}, applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :gettext, :phoenix_ecto, :mariaex, :ueberauth_twitter, :arc_ect

    Elixir1.6のformatterの挙動を観察してみた - Qiita
    dala
    dala 2017/12/29
  • Elixir 1.6のcode formatterで自動フォーマット - Qiita

    Elixir 1.6もそろそろリリースが視野に見えてきたところですが、1.6の注目機能といえばやはり自動フォーマット機能でしょう。 gofmtのように自動的にコーディングスタイルを変換してくれます。なんといっても言語公式のフォーマッタなので無駄な宗教戦争が起きることもなく平和的にコーディングスタイルを解決出来るし、コードレビューの手間も少なくなりいいことづくめですね。 2017-10-26現在ElixirのGitHub masterブランチをインストールすれば試すことが出来るので試してみます。 Environment Elixir 1.6.0-dev (2017-10-26現在) Installation 手っ取り早く1.6.0-devを試すためにkiex(Elixirのバージョンマネージャ)をインストールします $ curl -sSL https://raw.githubusercont

    Elixir 1.6のcode formatterで自動フォーマット - Qiita
    dala
    dala 2017/12/27
    VSCodeのformatterももう出てるのか。早速入れよう。
  • 1