aboutsummaryrefslogtreecommitdiff
path: root/spec/quick/make.q
diff options
context:
space:
mode:
Diffstat (limited to 'spec/quick/make.q')
-rw-r--r--spec/quick/make.q37
1 files changed, 37 insertions, 0 deletions
diff --git a/spec/quick/make.q b/spec/quick/make.q
index c77bb499..eb3472b6 100644
--- a/spec/quick/make.q
+++ b/spec/quick/make.q
@@ -49,3 +49,40 @@ return {
49 } 49 }
50} 50}
51-------------------------------------------------------------------------------- 51--------------------------------------------------------------------------------
52
53
54
55================================================================================
56TEST: running make twice builds twice
57
58FILE: test-2.0-1.rockspec
59--------------------------------------------------------------------------------
60package = "test"
61version = "2.0-1"
62source = {
63 url = "file://%{path(tmpdir)}/test.lua"
64}
65build = {
66 type = "builtin",
67 modules = {
68 test = "test.lua"
69 }
70}
71--------------------------------------------------------------------------------
72
73FILE: test.lua
74--------------------------------------------------------------------------------
75return {}
76--------------------------------------------------------------------------------
77
78RUN: luarocks make --only-server=%{fixtures_dir}/a_repo --pin --tree=lua_modules
79STDOUT:
80--------------------------------------------------------------------------------
81test 2.0-1 is now installed
82--------------------------------------------------------------------------------
83
84RUN: luarocks make --only-server=%{fixtures_dir}/a_repo --pin --tree=lua_modules
85STDOUT:
86--------------------------------------------------------------------------------
87test 2.0-1 is now installed
88--------------------------------------------------------------------------------