aboutsummaryrefslogtreecommitdiff
path: root/.config/pkgit/repos/v.lua
blob: aa2f9c2b0f0174707dc0d75ed09fe4eb433a3cb4 (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
return {
  url = "https://github.com/vlang/v",
  targets = {
    default = {
      build = function()
      	print("hello")
        return os.execute("make")
      end,
      install = function()
      	print("hello")
        return os.execute("./v symlink "..install_directories.bin)
      end,
      uninstall = function()
      	print("hello")
        return os.execute("rm "..install_directories.bin.."/v")
      end,
    },
    --quiet = {
    --  build = function()
    --    return os.execute("make &> /tmp/pkgit_build.log")
    --  end,
    --  install = function()
    --    return os.execute("./v symlink "..install_directories.bin.." &> /tmp/pkgit_build.log")
    --  end,
    --  uninstall = function()
    --    return os.execute("rm "..install_directories.bin.."/v &> /tmp/pkgit_build.log")
    --  end,
    --},
  },
}