Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
tutorial:program:oppm [2014/08/18 14:22]
vexatos [Tutorial: The OpenPrograms Package Manager (OPPM)]
tutorial:program:oppm [2015/03/24 23:00]
vexatos
Line 58: Line 58:
         },         },
         dependencies = {         dependencies = {
-          ["some-dependency"] = "/​lib"​--This package is installed into the specified subfolder+          ["GML"] = "/​lib"​--This package is installed into the specified subfolder
         },         },
         name = "​Package name",​--This is for "oppm info"         name = "​Package name",​--This is for "oppm info"
Line 68: Line 68:
       },       },
       ["​yet-another-package"​] = {       ["​yet-another-package"​] = {
-                    --...--+              ​...
       }       }
     },     },
Line 101: Line 101:
       ["​master/​somefolder/​bar.lua"​] = "/",​--"/"​ means the file will be placed inside the folder the user specified, defaults to /usr       ["​master/​somefolder/​bar.lua"​] = "/",​--"/"​ means the file will be placed inside the folder the user specified, defaults to /usr
       ["​master/​somefolder/​barinfo.txt"​] = "//​etc",​ -- double slash for using an absolute path       ["​master/​somefolder/​barinfo.txt"​] = "//​etc",​ -- double slash for using an absolute path
 +      [":​master/​otherfolder"​] = "/​share/​something",​ -- A colon marks a folder, will include everything in that folder
 +      [":​master/​otherfolder"​] = "//​etc/​something",​ -- This also works with absolute paths
       ["​master/​somefolder/​barlib.lua"​] = "/​subfolder",​--Places the file in a subfolder in the user-specified folder       ["​master/​somefolder/​barlib.lua"​] = "/​subfolder",​--Places the file in a subfolder in the user-specified folder
       ["​master/​somefolder/​libfolder/"​] = "/"​       ["​master/​somefolder/​libfolder/"​] = "/"​
Line 115: Line 117:
   },   },
   ["​yet-another-package"​] = {   ["​yet-another-package"​] = {
-      ​...+          ​...
   }   }
 } }