aboutsummaryrefslogtreecommitdiff
path: root/spec/fixtures/a_repo
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-04-12 17:13:43 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-04-13 17:11:12 -0300
commit2871199838131b5a4c5a99d8e1fedbcd26017b0e (patch)
treef536bf262d31cbe32595468b2765f41df2a062c3 /spec/fixtures/a_repo
parente145314e263e9daeb99e0586505a81902e5e483b (diff)
downloadluarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.tar.gz
luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.tar.bz2
luarocks-2871199838131b5a4c5a99d8e1fedbcd26017b0e.zip
Tests: build_dependencies
Diffstat (limited to 'spec/fixtures/a_repo')
-rw-r--r--spec/fixtures/a_repo/a_build_dep-1.0-1.rockspec18
-rw-r--r--spec/fixtures/a_repo/a_build_dep-1.0-1.src.rockbin0 -> 575 bytes
-rw-r--r--spec/fixtures/a_repo/has_build_dep-1.0-1.all.rockbin0 -> 1010 bytes
-rw-r--r--spec/fixtures/a_repo/has_build_dep-1.0-1.rockspec22
-rw-r--r--spec/fixtures/a_repo/has_build_dep-1.0-1.src.rockbin0 -> 584 bytes
-rw-r--r--spec/fixtures/a_repo/manifest23
-rw-r--r--spec/fixtures/a_repo/manifest-5.123
-rw-r--r--spec/fixtures/a_repo/manifest-5.223
-rw-r--r--spec/fixtures/a_repo/manifest-5.323
9 files changed, 132 insertions, 0 deletions
diff --git a/spec/fixtures/a_repo/a_build_dep-1.0-1.rockspec b/spec/fixtures/a_repo/a_build_dep-1.0-1.rockspec
new file mode 100644
index 00000000..2398d3db
--- /dev/null
+++ b/spec/fixtures/a_repo/a_build_dep-1.0-1.rockspec
@@ -0,0 +1,18 @@
1rockspec_format = "3.0"
2package = "a_build_dep"
3version = "1.0-1"
4source = {
5 url = "http://localhost:8080/file/a_rock.lua"
6}
7description = {
8 summary = "An example rockspec that is a build dependency for has_build_dep.",
9}
10dependencies = {
11 "lua >= 5.1",
12}
13build = {
14 type = "builtin",
15 modules = {
16 build_dep = "a_rock.lua"
17 },
18}
diff --git a/spec/fixtures/a_repo/a_build_dep-1.0-1.src.rock b/spec/fixtures/a_repo/a_build_dep-1.0-1.src.rock
new file mode 100644
index 00000000..c56ee34d
--- /dev/null
+++ b/spec/fixtures/a_repo/a_build_dep-1.0-1.src.rock
Binary files differ
diff --git a/spec/fixtures/a_repo/has_build_dep-1.0-1.all.rock b/spec/fixtures/a_repo/has_build_dep-1.0-1.all.rock
new file mode 100644
index 00000000..a2d09ab2
--- /dev/null
+++ b/spec/fixtures/a_repo/has_build_dep-1.0-1.all.rock
Binary files differ
diff --git a/spec/fixtures/a_repo/has_build_dep-1.0-1.rockspec b/spec/fixtures/a_repo/has_build_dep-1.0-1.rockspec
new file mode 100644
index 00000000..417473a6
--- /dev/null
+++ b/spec/fixtures/a_repo/has_build_dep-1.0-1.rockspec
@@ -0,0 +1,22 @@
1rockspec_format = "3.0"
2package = "has_build_dep"
3version = "1.0-1"
4source = {
5 url = "http://localhost:8080/file/a_rock.lua"
6}
7description = {
8 summary = "An example rockspec that has build dependencies.",
9}
10dependencies = {
11 "a_rock",
12 "lua >= 5.1",
13}
14build_dependencies = {
15 "a_build_dep",
16}
17build = {
18 type = "builtin",
19 modules = {
20 bla = "a_rock.lua"
21 },
22}
diff --git a/spec/fixtures/a_repo/has_build_dep-1.0-1.src.rock b/spec/fixtures/a_repo/has_build_dep-1.0-1.src.rock
new file mode 100644
index 00000000..fc4e11b9
--- /dev/null
+++ b/spec/fixtures/a_repo/has_build_dep-1.0-1.src.rock
Binary files differ
diff --git a/spec/fixtures/a_repo/manifest b/spec/fixtures/a_repo/manifest
index 141dafb5..1a5f8d55 100644
--- a/spec/fixtures/a_repo/manifest
+++ b/spec/fixtures/a_repo/manifest
@@ -1,6 +1,16 @@
1commands = {} 1commands = {}
2modules = {} 2modules = {}
3repository = { 3repository = {
4 a_build_dep = {
5 ["1.0-1"] = {
6 {
7 arch = "src"
8 },
9 {
10 arch = "rockspec"
11 }
12 }
13 },
4 a_rock = { 14 a_rock = {
5 ["1.0-1"] = { 15 ["1.0-1"] = {
6 { 16 {
@@ -21,6 +31,19 @@ repository = {
21 } 31 }
22 } 32 }
23 }, 33 },
34 has_build_dep = {
35 ["1.0-1"] = {
36 {
37 arch = "rockspec"
38 },
39 {
40 arch = "src"
41 },
42 {
43 arch = "all"
44 }
45 }
46 },
24 has_namespaced_dep = { 47 has_namespaced_dep = {
25 ["1.0-1"] = { 48 ["1.0-1"] = {
26 { 49 {
diff --git a/spec/fixtures/a_repo/manifest-5.1 b/spec/fixtures/a_repo/manifest-5.1
index 141dafb5..1a5f8d55 100644
--- a/spec/fixtures/a_repo/manifest-5.1
+++ b/spec/fixtures/a_repo/manifest-5.1
@@ -1,6 +1,16 @@
1commands = {} 1commands = {}
2modules = {} 2modules = {}
3repository = { 3repository = {
4 a_build_dep = {
5 ["1.0-1"] = {
6 {
7 arch = "src"
8 },
9 {
10 arch = "rockspec"
11 }
12 }
13 },
4 a_rock = { 14 a_rock = {
5 ["1.0-1"] = { 15 ["1.0-1"] = {
6 { 16 {
@@ -21,6 +31,19 @@ repository = {
21 } 31 }
22 } 32 }
23 }, 33 },
34 has_build_dep = {
35 ["1.0-1"] = {
36 {
37 arch = "rockspec"
38 },
39 {
40 arch = "src"
41 },
42 {
43 arch = "all"
44 }
45 }
46 },
24 has_namespaced_dep = { 47 has_namespaced_dep = {
25 ["1.0-1"] = { 48 ["1.0-1"] = {
26 { 49 {
diff --git a/spec/fixtures/a_repo/manifest-5.2 b/spec/fixtures/a_repo/manifest-5.2
index 141dafb5..1a5f8d55 100644
--- a/spec/fixtures/a_repo/manifest-5.2
+++ b/spec/fixtures/a_repo/manifest-5.2
@@ -1,6 +1,16 @@
1commands = {} 1commands = {}
2modules = {} 2modules = {}
3repository = { 3repository = {
4 a_build_dep = {
5 ["1.0-1"] = {
6 {
7 arch = "src"
8 },
9 {
10 arch = "rockspec"
11 }
12 }
13 },
4 a_rock = { 14 a_rock = {
5 ["1.0-1"] = { 15 ["1.0-1"] = {
6 { 16 {
@@ -21,6 +31,19 @@ repository = {
21 } 31 }
22 } 32 }
23 }, 33 },
34 has_build_dep = {
35 ["1.0-1"] = {
36 {
37 arch = "rockspec"
38 },
39 {
40 arch = "src"
41 },
42 {
43 arch = "all"
44 }
45 }
46 },
24 has_namespaced_dep = { 47 has_namespaced_dep = {
25 ["1.0-1"] = { 48 ["1.0-1"] = {
26 { 49 {
diff --git a/spec/fixtures/a_repo/manifest-5.3 b/spec/fixtures/a_repo/manifest-5.3
index 141dafb5..1a5f8d55 100644
--- a/spec/fixtures/a_repo/manifest-5.3
+++ b/spec/fixtures/a_repo/manifest-5.3
@@ -1,6 +1,16 @@
1commands = {} 1commands = {}
2modules = {} 2modules = {}
3repository = { 3repository = {
4 a_build_dep = {
5 ["1.0-1"] = {
6 {
7 arch = "src"
8 },
9 {
10 arch = "rockspec"
11 }
12 }
13 },
4 a_rock = { 14 a_rock = {
5 ["1.0-1"] = { 15 ["1.0-1"] = {
6 { 16 {
@@ -21,6 +31,19 @@ repository = {
21 } 31 }
22 } 32 }
23 }, 33 },
34 has_build_dep = {
35 ["1.0-1"] = {
36 {
37 arch = "rockspec"
38 },
39 {
40 arch = "src"
41 },
42 {
43 arch = "all"
44 }
45 }
46 },
24 has_namespaced_dep = { 47 has_namespaced_dep = {
25 ["1.0-1"] = { 48 ["1.0-1"] = {
26 { 49 {