Giter Site home page Giter Site logo

Please publish json.lua on LuaRocks about json.lua HOT 4 OPEN

rxi avatar rxi commented on July 30, 2024 24
Please publish json.lua on LuaRocks

from json.lua.

Comments (4)

sodabrew avatar sodabrew commented on July 30, 2024 3

Could the latest release tag 0.1.2 get pushed to luarocks?

from json.lua.

hishamhm avatar hishamhm commented on July 30, 2024 2

@rxi hi, I'm the admin of luarocks.org — I can transfer ownership of rxi-json-lua over to you. To upload the latest version to LuaRocks, you can do the following:

  1. Create an account at luarocks.org

  2. Once you're logged into your account, get an API key at https://luarocks.org/settings/api-keys

  3. Create a rockspec file called rxi-json-lua-0.1.2-1.rockspec (the -1 means the revision of the rockspec itself) with the following contents:

package = "rxi-json-lua"
version = "0.1.2-1"
source = {
   url = "git://github.com/rxi/json.lua",
   tag = "v0.1.2",
}
description = {
   summary = "A lightweight JSON library for Lua",
   detailed = [[
    - Implemented in pure Lua: works with 5.1, 5.2, 5.3 and JIT
    - Fast: generally outperforms other pure Lua JSON implementations (benchmark scripts)
    - Tiny: around 290sloc, 9kb
    - Proper error messages, eg: expected '}' or ',' at line 203 col 30
   ]],
   homepage = "https://github.com/rxi/json.lua",
   license = "MIT",
}
dependencies = {
   "lua >= 5.1, < 5.4"
}
build = {
   type = "builtin",
   modules = {
      ["json"] = "json.lua",
      -- the original uploader renamed the module to "rxi-json-lua".
      -- you might want to keep the line below for compatibility (or not, your call)
      --[[
      ["rxi-json-lua"] = "json.lua",
      ]]
   }
}
  1. Install LuaRocks

  2. Upload the package:

    • luarocks upload --api-key=YOUR_KEY rxi-json-lua-0.1.2-1.rockspec
  3. Ping me (here is fine) with your chosen account username at luarocks.org so I can transfer the package entry in the root luarocks.org repository over to your account

from json.lua.

bitbloxhub avatar bitbloxhub commented on July 30, 2024 1

yes

from json.lua.

brunowego avatar brunowego commented on July 30, 2024

Take a look here.

luarocks install rxi-json-lua

from json.lua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.