@@ -13,40 +13,16 @@ builds:
13
13
goarch : 386
14
14
- goos : windows
15
15
goarch : 386
16
- id : " executor"
17
- main : ./cmd/executor
18
- binary : executor
19
- - goos :
20
- - linux
21
- - darwin
22
- - windows
23
- ignore :
24
- - goos : linux
25
- goarch : 386
26
- - goos : darwin
27
- goarch : 386
28
- - goos : windows
29
- goarch : 386
30
- id : " tradeclient"
31
- main : ./cmd/tradeclient
32
- binary : tradeclient
33
- - goos :
34
- - linux
35
- - darwin
36
- - windows
37
- ignore :
38
- - goos : linux
39
- goarch : 386
40
- - goos : darwin
41
- goarch : 386
42
- - goos : windows
43
- goarch : 386
44
- id : " ordermatch"
45
- main : ./cmd/ordermatch
46
- binary : ordermatch
16
+ id : " qf"
17
+ binary : qf
18
+ env :
19
+ - CGO_ENABLED=0
20
+ ldflags :
21
+ - -s -X github.com/quickfixgo/examples/version.Version={{.Version}}
47
22
48
23
archives :
49
- - replacements :
24
+ - name_template : " qf_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
25
+ replacements :
50
26
darwin : Darwin
51
27
linux : Linux
52
28
windows : Windows
@@ -61,3 +37,72 @@ changelog:
61
37
exclude :
62
38
- ' ^docs:'
63
39
- ' ^test:'
40
+
41
+ brews :
42
+ - name : qf
43
+ tap :
44
+ owner : quickfixgo
45
+ name : homebrew-qf
46
+ homepage : " https://github.com/quickfixgo/examples"
47
+ description : " Example QuickFIX/Go Applications."
48
+ install : |
49
+ bin.install "qf"
50
+ caveats : " Thanks for installing the Quickfix/Go examples"
51
+ plist : |
52
+ <?xml version="1.0" encoding="UTF-8"?>
53
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
54
+ <plist version="1.0">
55
+ <dict>
56
+ <key>KeepAlive</key>
57
+ <dict>
58
+ <key>SuccessfulExit</key>
59
+ <false/>
60
+ </dict>
61
+ <key>Label</key>
62
+ <string>#{plist_name}</string>
63
+ <key>RunAtLoad</key>
64
+ <true/>
65
+ <key>WorkingDirectory</key>
66
+ <string>#{var}</string>
67
+ <key>StandardErrorPath</key>
68
+ <string>#{var}/log/qtrn.log</string>
69
+ <key>StandardOutPath</key>
70
+ <string>#{var}/log/qtrn.log</string>
71
+ </dict>
72
+ </plist>
73
+
74
+ dockers :
75
+ - goos : linux
76
+ goarch : amd64
77
+ image_templates :
78
+ - " quickfixgo/qf:latest"
79
+ - " quickfixgo/qf:{{ .Tag }}"
80
+ dockerfile : release.Dockerfile
81
+ extra_files :
82
+ - config
83
+ build_flag_templates :
84
+ - " --label=org.opencontainers.image.created={{.Date}}"
85
+ - " --label=org.opencontainers.image.name=qf"
86
+ - " --label=org.opencontainers.image.revision={{.FullCommit}}"
87
+ - " --label=org.opencontainers.image.version={{.Version}}"
88
+
89
+ snapcrafts :
90
+ - name_template : " qf_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
91
+ name : quickfixgo-qf
92
+ publish : true
93
+ summary : Example QuickFIX/Go Applications.
94
+ description : Example QuickFIX/Go Applications.
95
+ grade : stable
96
+ confinement : strict
97
+ layout :
98
+ /etc/qf :
99
+ bind : $SNAP_DATA/etc
100
+ scoop :
101
+ name : qf
102
+ bucket :
103
+ owner : quickfixgo
104
+ name : scoop-qf
105
+ commit_msg_template : " Scoop manifest update for {{ .ProjectName }} version {{ .Tag }}"
106
+ homepage : https://github.com/quickfixgo/examples
107
+ description : Example QuickFIX/Go Applications.
108
+ post_install : ["Write-Host 'Thanks for installing the Quickfix/Go examples'"]
0 commit comments