Skip to content

Pika-Software/gpm_legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLuaFixer

GLua Package Manager: Legacy

Warning: This version of gpm is outdated, if you are going to use it in your projects, it is better to use the main version, here.

Features

How to create your own package?

  1. Create package.lua and main.lua files in directory lua/gpm/packages/<your-package-name>/.
  2. Enter information about your package in package.lua (See package.lua), or just write return {}.
  3. Write your code in main.lua, this is shared file, so you can write serverside and clientside code.

Also, you can run an existing addon via gpm, just add the code below to package.lua, and you don’t even need to add main.lua.

-- package.lua
return {
    -- gpm will run the specified file instead of main.lua
    main = "path/to/my/code/init.lua",
}

License

MIT © Pika Software