-
Notifications
You must be signed in to change notification settings - Fork 7
/
rustwrap.yaml
34 lines (30 loc) · 1.05 KB
/
rustwrap.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# replace everything that starts with __V_
targets:
- platform: win32
arch: x64
url_template: https://github.com/__V_REPO_NAME__/releases/download/v__VERSION__/__V_PROJECT_NAME__-x86_64-windows.zip
- platform: linux
arch: x64
url_template: https://github.com/__V_REPO_NAME__/releases/download/v__VERSION__/__V_PROJECT_NAME__-x86_64-linux.tar.xz
- platform: darwin
arch: x64
url_template: https://github.com/__V_REPO_NAME__/releases/download/v__VERSION__/__V_PROJECT_NAME__-x86_64-macos.tar.xz
- platform: darwin
arch: arm64
url_template: https://github.com/__V_REPO_NAME__/releases/download/v__VERSION__/__V_PROJECT_NAME__-aarch64-macos.tar.xz
brew:
name: __V_PROJECT_NAME__
publish: true
tap: __V_TAP_NAME__
recipe_fname: __V_PROJECT_NAME__.rb
recipe_template: |
class __V_PROJECT_FORMULA__ < Formula
desc "desc"
homepage "http://github.com/__V_REPO_NAME__"
url "__URL__"
version "__VERSION__"
sha256 "__SHA__"
def install
bin.install "__V_BIN_NAME__"
end
end