mirror of
https://github.com/italicsjenga/muda.git
synced 2024-12-24 04:11:30 +11:00
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"gitSiteUrl": "https://www.github.com/tauri-apps/muda/",
|
|
"timeout": 3600000,
|
|
"pkgManagers": {
|
|
"rust": {
|
|
"version": true,
|
|
"getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
|
|
"prepublish": [
|
|
"sudo apt-get update",
|
|
"sudo apt-get install -y libgtk-3-dev libxdo-dev"
|
|
],
|
|
"publish": [
|
|
{
|
|
"command": "cargo package --no-verify",
|
|
"dryRunCommand": true
|
|
},
|
|
{
|
|
"command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
|
|
"dryRunCommand": true,
|
|
"pipe": true
|
|
},
|
|
{
|
|
"command": "cargo publish",
|
|
"dryRunCommand": "cargo publish --dry-run",
|
|
"pipe": true
|
|
},
|
|
{
|
|
"command": "echo '```\n\n</details>\n'",
|
|
"dryRunCommand": true,
|
|
"pipe": true
|
|
}
|
|
],
|
|
"postpublish": [
|
|
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f",
|
|
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
|
|
"git push --tags -f"
|
|
]
|
|
}
|
|
},
|
|
"packages": {
|
|
"muda": {
|
|
"path": ".",
|
|
"manager": "rust",
|
|
"assets": [
|
|
{
|
|
"path": "${ pkg.path }/target/package/muda-${ pkgFile.version }.crate",
|
|
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |