首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

nitrogen在console上直接重新编译erl文件

2012-10-27 
nitrogen在console下直接重新编译erl文件原文写的是There are three different ways to compile code in N

nitrogen在console下直接重新编译erl文件

原文写的是

There are three different ways to compile code in Nitrogen:

  • If you are?in the Erlang console?then run?sync:go().
  • 如果是开启的console模式的话就直接执行sync:go()
  • This will look at all loaded modules, find their associated Emakefiles, and run?make:all([load]).?to recompile.

  • If?Nitrogen is running in the background?then run?./bin/dev compile
  • 如果是nitrogen start启动的nitrogen,就运行./bin/nitrogen complie
  • 如果是./bin/dev start启动nitrogen,就运行./bin/dev complie

    This connects to the running Nitrogen application and issues a?sync:go().?command.

  • If?Nitrogen is stopped?then run?make compile
  • 如果nitrogen服务器没开启,就使用make compile就行了

    This calls?erl -make, causing your application to be compiled based on the provided Emakefile.

热点排行