-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Peter Aronoff
committed
Mar 5, 2016
1 parent
39c7310
commit 7a58a2d
Showing
9 changed files
with
89 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package = 'split' | ||
version = '2.0.0-1' | ||
source = { | ||
url = 'https://bitbucket.org/telemachus/split/downloads/split-v2.0.0-1.tar.gz', | ||
dir = 'split' | ||
} | ||
description = { | ||
summary = 'String split function and iterator for Lua', | ||
detailed = [[ | ||
A string split function and iterator for Lua since the string standard | ||
library doesn't come with one. | ||
]], | ||
homepage = 'https://bitbucket.org/telemachus/split', | ||
license = 'BSD 3-Clause', | ||
maintainer = 'Peter Aronoff <[email protected]>' | ||
} | ||
dependencies = { 'lua >= 5.1' } | ||
build = { | ||
type = 'builtin', | ||
modules = { | ||
split = 'src/split.lua', | ||
}, | ||
copy_directories = { 'doc' } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env lua | ||
local t = require 'tapered' | ||
package.path = '../src/?.lua;' .. package.path | ||
local split = require 'split' | ||
|
||
t.is(split.version(), '2.0.0-1', 'version() returns 2.0.0-1') | ||
t.is(split.author(), 'Peter Aronoff', 'author() returns Peter Aronoff') | ||
t.is(split.url(), 'https://bitbucket.org/telemachus/split', | ||
'url() returns https://bitbucket.org/telemachus/split') | ||
t.is(split.license(), 'BSD 3-Clause', 'license() returns BSD 3-Clause') | ||
|
||
t.done() |