Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.35 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.35 KB

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