Browse Source

LuaRocks: Run test suite

Peter Colberg 4 years ago
parent
commit
8a24c29455
4 changed files with 33 additions and 4 deletions
  1. 1
    0
      .gitignore
  2. 2
    2
      doc/INSTALL.html
  3. 2
    2
      doc/INSTALL.mdwn
  4. 28
    0
      rockspec/lua-templet-1.0.1-2.rockspec

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
1
+*.rock

+ 2
- 2
doc/INSTALL.html View File

@@ -48,9 +48,9 @@
48 48
 <p>To use the module, set the Lua module path in your shell's startup file:</p>
49 49
 <pre><code>eval `luarocks path`</code></pre>
50 50
 <p>If the LuaRocks mirror is not available, install from the git repository above:</p>
51
-<pre><code>luarocks install --local rockspec/lua-templet-1.0.1-1.rockspec</code></pre>
51
+<pre><code>luarocks install --local rockspec/lua-templet-1.0.1-2.rockspec</code></pre>
52 52
 <p>To install the module directly from the git source, use:</p>
53
-<pre><code>luarocks make --local rockspec/lua-templet-1.0.1-1.rockspec</code></pre>
53
+<pre><code>luarocks make --local rockspec/lua-templet-1.0.1-2.rockspec</code></pre>
54 54
 <p>In this case you must manually git checkout the corresponding version beforehand.</p>
55 55
 </div>
56 56
 <div class="footer">

+ 2
- 2
doc/INSTALL.mdwn View File

@@ -61,13 +61,13 @@ eval `luarocks path`
61 61
 If the LuaRocks mirror is not available, install from the git repository above:
62 62
 
63 63
 ~~~
64
-luarocks install --local rockspec/lua-templet-1.0.1-1.rockspec
64
+luarocks install --local rockspec/lua-templet-1.0.1-2.rockspec
65 65
 ~~~
66 66
 
67 67
 To install the module directly from the git source, use:
68 68
 
69 69
 ~~~
70
-luarocks make --local rockspec/lua-templet-1.0.1-1.rockspec
70
+luarocks make --local rockspec/lua-templet-1.0.1-2.rockspec
71 71
 ~~~
72 72
 
73 73
 In this case you must manually git checkout the corresponding version beforehand.

+ 28
- 0
rockspec/lua-templet-1.0.1-2.rockspec View File

@@ -0,0 +1,28 @@
1
+package = "lua-templet"
2
+version = "1.0.1-2"
3
+source = {
4
+   url = "git://git.colberg.org/lua-templet",
5
+   tag = "1.0.1",
6
+}
7
+description = {
8
+   summary = "Templet for Lua",
9
+   detailed = [[
10
+      Templet is a template preprocessor written in pure Lua that parses text
11
+      templates with embedded Lua statements and expressions. Templet may be
12
+      used to preprocess source files of any language, such as OpenCL C.
13
+      Templet works with Lua 5.1, Lua 5.2, and LuaJIT.
14
+   ]],
15
+   homepage = "http://colberg.org/lua-templet/",
16
+   license = "MIT/X11",
17
+}
18
+build = {
19
+   type = "make",
20
+   build_target = "test",
21
+   install_variables = {
22
+      PREFIX = "$(PREFIX)",
23
+      LUADIR = "$(LUADIR)",
24
+      DOCDIR = "$(PREFIX)/doc",
25
+   },
26
+   copy_directories = {
27
+   },
28
+}

Loading…
Cancel
Save