Skip to content

fp-in-bo/data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data

This repository contains static data needed for clients.

How to add data

Open a PR modifying JSON file.

Once merged to master the new version of the data will be automatically available thanks to GitHub Pages.

Example

You can modify the events/all.json file, and the result will be deployed in https://fp-in-bo.github.io/data/events/all.json

Continuous Integration

Manual JSON editing is error-prone, so we check JSON files in continuous integration.

The script is written using kscript and it's embedding kscript installer so you execute it with:

scripts/validateJson.kts events/all.json

It will download all required dependencies on the first run.

Kscript can also produce standalone binaries containing a compiled copy of the script, as well as all declared dependencies (fatjar).

On Travis we are executing the script in this way, so if you need to modify it, remember to update also the binary version using

kscript --package validateJson.kts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages