-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.schema.yml
More file actions
22 lines (19 loc) · 912 Bytes
/
package.schema.yml
File metadata and controls
22 lines (19 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: string # Package name, e.g., "bat"
version: string # Package version, e.g., "0.24.0"
description: string # Short description of the package
homepage: string? # Optional project homepage URL
license: string? # License identifier (e.g., "MIT")
dependencies: # List of package names or system dependencies
- string # e.g., "curl", "openssl", "git", or another octo package name
platforms:
- os: string # "linux", "windows", "darwin"
arch: string # e.g. "amd64", "arm64"
url: string # Download URL
checksum: string? # Optional SHA256 checksum
bin: string # Relative path to executable inside archive
extract:
format: string # e.g., "tar.gz", "zip"
strip_components: int?
hooks: # Optional hooks scoped per platform
pre_install: string? # Shell script or commands to run before install
post_install: string? # Shell script or commands to run after install