• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

exercism/lua: Exercism exercises in Lua.

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

exercism/lua

开源软件地址(OpenSource Url):

https://github.com/exercism/lua

开源编程语言(OpenSource Language):

Lua 99.4%

开源软件介绍(OpenSource Introduction):

Exercism Lua Track

Build Status

Exercism exercises in Lua

Setup dev environment for contributing

Install Lua, Luarocks, and the Busted testing framework according to the installation instructions for your platform.

To contribute a patch you will need a GitHub account and you will need to fork the exercism/lua repo to your account. Clone your fork with the command: git clone https://github.com/<your_username>/lua. Create your patch and open a pull request to the exercism/lua repo.

See the GitHub Help for forking a repo and creating a pull request if you are unfamiliar with this process.

To contribute a new exercise, create a folder named after the exercise within the lua/exercises directory. Create your files for a new test, test class and the implementation.

For example, for the Bob exercise:

$ tree bob
bob
├── bob_spec.lua
└── bob.lua

0 directories, 2 files

Run the test

$ busted

Rename bob.lua to example.lua, and add the exercise to the lua/config.json file.

$ tree bob
bob
├── bob_spec.lua
└── example.lua

0 directories, 2 files

Contributing Guide

Please be familiar with the contributing guide in the docs repository. This describes some great ways to get involved. In particular, please read the Pull Request Guidelines before opening a pull request.

Other Resources

Pleases see the Useful Lua Resources page.

Lua icon

The Lua icon is inspired by the Lua logo, which was designed by Alexandre Nakonechnyj.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap