summaryrefslogtreecommitdiff
path: root/spec/util_spec.lua
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-06-05 01:58:48 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-06-06 12:39:23 -0300
commit35d139407db87349e8ccc11e0e1696b610d9582e (patch)
tree4b58ebeb75c96a83cab3505f2cf09c77627d2f2a /spec/util_spec.lua
parent03223a93763675520a2b5e16bb6ffeb871de332a (diff)
downloadluarocks-35d139407db87349e8ccc11e0e1696b610d9582e.tar.gz
luarocks-35d139407db87349e8ccc11e0e1696b610d9582e.tar.bz2
luarocks-35d139407db87349e8ccc11e0e1696b610d9582e.zip
General refactor introducing Rockspec and Build.Opts objects
Adds a Rockspec object responsible for constructing all Rockspec tables in the manner of the Queries and Results objects, and a type-checked Build.Opts tables for build options, since the number of attributes passed around was getting out of hand. This allowed a major cleanup in the luarocks.build, luarocks.fetch and luarocks.cmd.write_rockspec modules.
Diffstat (limited to 'spec/util_spec.lua')
-rw-r--r--spec/util_spec.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/util_spec.lua b/spec/util_spec.lua
index 28f99550..3bb97a5b 100644
--- a/spec/util_spec.lua
+++ b/spec/util_spec.lua
@@ -2,7 +2,6 @@ local test_env = require("spec.util.test_env")
2local lfs = require("lfs") 2local lfs = require("lfs")
3local run = test_env.run 3local run = test_env.run
4local testing_paths = test_env.testing_paths 4local testing_paths = test_env.testing_paths
5local env_variables = test_env.env_variables
6 5
7describe("Basic tests #integration", function() 6describe("Basic tests #integration", function()
8 7