Skip to content

unicornpkg/unicornpkg-manifesttool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

unicornpkg-manifesttool

Creates a manifest file for remotes that is compliant with v1.1.0 of the Unicornpkg specification.

Installation

Clone the repository, install cjson and luafilesystem through LuaRocks.

Usage

Assuming you have a package remote somewhere on your machine:

REMOTE_LOCATION=../unicornpkg-main # or some other location, absolute or relative
lua manifesttool.lua $REMOTE_LOCATION > unicornpkg.remote.json

Diff-friendly version

Here's a diff-friendly version, helped along by jq. This ensures diffs are minimal by expanding it to use newlines, as well as sorting keys.

This likely has a large impact when repositories grow to a large size.

REMOTE_LOCATION=../unicornpkg-main # or some other location, absolute or relative
lua manifesttool.lua $REMOTE_LOCATION | jq --sort-keys > unicornpkg.remote.json

About

Create unicornpkg manifests from a folder of package tables

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages