-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from nathanrpage97/release/v0.3.0
update for v0.3.0 release
- Loading branch information
Showing
16 changed files
with
67 additions
and
18 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
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
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,49 @@ | ||
local package_name = "lua-fort" | ||
local package_version = "0.3.0" | ||
local rockspec_revision = "1" | ||
local github_account_name = "nathanrpage97" | ||
local github_repo_name = package_name | ||
local git_checkout = package_version == "dev" and "master" or | ||
("v" .. package_version) | ||
|
||
package = package_name | ||
version = package_version .. "-" .. rockspec_revision | ||
|
||
rockspec_format = "3.0" | ||
source = { | ||
url = "git://github.com/" .. github_account_name .. "/" .. package_name, | ||
tag = git_checkout | ||
} | ||
|
||
description = { | ||
summary = "A lua wrapper around the libfort ascii table c library", | ||
detailed = [[ | ||
The lua-fort module provides ASCII table support for Lua. It wraps the fort library | ||
https://github.com/seleznevae/libfort. | ||
]], | ||
homepage = "https://" .. github_account_name .. ".github.io/" .. | ||
github_repo_name, | ||
license = "MIT" | ||
} | ||
|
||
dependencies = {"lua >= 5.1"} | ||
|
||
build = { | ||
type = "builtin", | ||
modules = { | ||
cfort = { | ||
sources = {"src/lfort.c", "src/fort.c"}, | ||
-- disable wchar as it isnt needed for lua | ||
defines = {"FT_CONGIG_DISABLE_WCHAR"} | ||
} | ||
}, | ||
install = {lua = {fort = "src/fort.lua"}}, | ||
-- Override default build options (per platform) | ||
platforms = {}, | ||
copy_directories = {"examples", "spec", "docs"} | ||
} | ||
|
||
test_dependencies = {"busted"} | ||
|
||
test = {type = "busted"} | ||
|