Creating Packages
Package Structure
my-package/
├── wyn.toml
├── src/
│ └── lib.wyn
└── tests/
└── test_lib.wynwyn.toml
toml
[package]
name = "my-package"
version = "0.1.0"
description = "My Wyn package"Publishing
sh
wyn pkg pushYour package needs a wyn.toml with a [package] section:
toml
[package]
name = "my-package"
version = "0.1.0"
description = "My Wyn package"
license = "MIT"Before publishing, register and log in:
sh
wyn pkg register # Create account
wyn pkg login # Save API key
wyn pkg push # Publish