Go to file
Brad Rydzewski 1bad910092 enable modules 2019-02-18 08:07:01 -08:00
samples add license headers 2019-02-10 11:00:16 -08:00
yaml document why Manifest.MarshalYAML is disabled 2019-02-11 13:26:34 -08:00
.drone.yml enable modules 2019-02-18 08:07:01 -08:00
.gitignore initial commit 2019-01-22 15:44:17 -08:00
LICENSE Added LICENSE 2019-02-10 09:37:00 -08:00
README.md initial commit 2019-01-22 15:44:17 -08:00
go.mod enable modules 2019-02-18 08:07:01 -08:00
go.sum enable modules 2019-02-18 08:07:01 -08:00
main.go add license headers 2019-02-10 11:00:16 -08:00

README.md

Package yaml provides a parser, linter, formatter and compiler for the drone configuration file format.

Lint the yaml file:

$ drone-yaml lint samples/simple.yml

Format the yaml file:

$ drone-yaml fmt samples/simple.yml
$ drone-yaml fmt samples/simple.yml --save

Sign the yaml file using a 32-bit secret key:

$ drone-yaml sign 642909eb4c3d47e33999235c0598353c samples/simple.yml
$ drone-yaml sign 642909eb4c3d47e33999235c0598353c samples/simple.yml --save

Verify the yaml file signature:

$ drone-yaml verify 642909eb4c3d47e33999235c0598353c samples/simple.yml

Compile the yaml file:

$ drone-yaml compile samples/simple.yml > samples/simple.json