aboutsummaryrefslogtreecommitdiff
path: root/bldit.lua
blob: 0681212f0b21807e7bc9e340763fdc2392e34582 (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
30
31
32
33
34
35
36
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 = {
    dependencies = {
      pipemixer = {
        url = "https://github.com/heather7283/pipemixer",
        version = "HEAD",
        target = "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,
  },
}