Skip to content

Allow Teal types to be installed via LuaRocks #73

Description

@FourierTransformer

I was noodling on some options in teal-language/tl#1071 and have really taken to the idea of having the Teal type definitions (only - not dependency linked) available in LuaRocks. It will allow cyan to remain a little bit less dependency heavy, and in theory could be fully automated when someone merges to master in this repo.

I started working on this a little bit and think it could be split into a couple of PRs/sections:

  • 1. Generating rockspecs (I have a PR ready for this part)
    • a script that generates rockspecs for each of the types and keeps track of the last git sha/files generated
    • initially manually run and uploaded rockspecs
  • 2. GHA to upload rockspecs to LuaRocks
    • would need a LuaRocks api key setup as a secret in the repo from likely a new LuaRocks account
  • 3. GHA on push-to-main that generates rockspecs, uploads, and updates this repo
    • would need a GitHub account that can open PRs in this repo

I'm willing to help write, maintain, and support as needed. Also, totally understand if this is not the direction you guys want Teal type definitions to go or if you just want to stick with the manual generation/upload process for now.

I'll put in the PR for step 1 here shortly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions