aboutsummaryrefslogtreecommitdiff
path: root/bldit.lua
blob: d724707eb05c3cbcd4f334ea7d903243f12c9352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
bldit_version   = "0.1.3"
package_version = "0.1.3"

global_dependencies = {
  luajit = {
    url = "https://luajit.org/git/luajit.git",
    version = "v2.1",
    target = "default",
  },
}

targets = {
  default = {
    build = function()
      os.execute("make")
    end,
    install = function()
      os.execute("make install")
    end,
  },
  quiet = {
    build = function()
      local output = io.popen("make"):read("*a")
    end,
    install = function()
      local output = io.popen("make install"):read("*a")
    end,
  },
}