nifty:当我需要创建Elixir NIF时的有用工具

时间:2021-05-01 17:01:24
【文件属性】:
文件名称:nifty:当我需要创建Elixir NIF时的有用工具
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-01 17:01:24
Elixir 漂亮的 编写NIF时用于设置所需样板的帮助程序脚本。 我通过将其安装为存档来使用它,但是我想您可以将其安装为dep。 安装 git clone git @github . com: rossjones / nifty.git cd nifty mix do archive.build, archive.install 指令 # Creates a skeleton Makefile, c source and Elxiir module. mix nifty.gen -- library hello -- module MyApp . Nif 编译和清理任务应该在您正常的mix compile和mix clean调用发生时发生。 额外信息 在上找到了如何为make设置编译的方法,这对入门非常有帮助。 混合任务源自
【文件预览】:
nifty-master
----mix.exs(995B)
----config()
--------config.exs(1KB)
----priv()
--------templates()
----test()
--------nifty_test.exs(96B)
--------test_helper.exs(15B)
----LICENSE.md(1KB)
----.gitignore(51B)
----lib()
--------template.ex(294B)
--------mix()
----README.md(859B)

网友评论