diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-06-05 01:58:48 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-06-06 12:39:23 -0300 |
commit | 35d139407db87349e8ccc11e0e1696b610d9582e (patch) | |
tree | 4b58ebeb75c96a83cab3505f2cf09c77627d2f2a /spec/util_spec.lua | |
parent | 03223a93763675520a2b5e16bb6ffeb871de332a (diff) | |
download | luarocks-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.lua | 1 |
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") | |||
2 | local lfs = require("lfs") | 2 | local lfs = require("lfs") |
3 | local run = test_env.run | 3 | local run = test_env.run |
4 | local testing_paths = test_env.testing_paths | 4 | local testing_paths = test_env.testing_paths |
5 | local env_variables = test_env.env_variables | ||
6 | 5 | ||
7 | describe("Basic tests #integration", function() | 6 | describe("Basic tests #integration", function() |
8 | 7 | ||