官术网_书友最值得收藏!

Introduction

The command line is the preferred way to create and interact with Elixir applications, inspect running systems, and prototype ideas.

Interactive Elixir (IEx) allows immediate evaluation of any expression, and it is also possible to define modules directly without saving them previously on a file. Similar tools exist in other programming languages; Ruby's IRB or Clojure's REPL are some examples.

Mix is a build tool that provides several tasks to create, compile, and test projects, and handle dependencies. It is also possible to define custom tasks with Mix. In the Creating custom Mix tasks recipe, we will create a task to display the memory usage. It is common for some applications to define their own tasks. Phoenix framework (which will be covered in Chapter 7, Cowboy and Phoenix) is just one example of this.

主站蜘蛛池模板: 拉孜县| 大邑县| 饶河县| 大足县| 安阳县| 耒阳市| 乃东县| 天镇县| 镇宁| 陇南市| 成都市| 海伦市| 府谷县| 五大连池市| 石景山区| 沙洋县| 洛浦县| 广德县| 营山县| 石城县| 玛沁县| 克什克腾旗| 关岭| 晋城| 焦作市| 青河县| 大洼县| 上高县| 南汇区| 伊川县| 金坛市| 开原市| 山东| 双鸭山市| 宜黄县| 吴桥县| 马边| 堆龙德庆县| 金坛市| 讷河市| 洪湖市|