forked from stripe/stripe-mock
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgoreleaser.yml
49 lines (47 loc) · 1.41 KB
/
goreleaser.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
build:
binary: stripe-mock
goos:
- windows
- darwin
- linux
goarch:
- amd64
brew:
github:
owner: stripe
name: homebrew-stripe-mock
homepage: "https://github.com/stripe/stripe-mock"
description: "stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle."
commit_author:
name: stripe-ci
email: [email protected]
plist: |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>Label</key>
<string>#{plist_name}</string>
<key>ProgramArguments</key>
<array>
<string>#{opt_bin}/stripe-mock</string>
<string>-http-port</string>
<string>12111</string>
<string>-https-port</string>
<string>12112</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>WorkingDirectory</key>
<string>#{var}</string>
<key>StandardErrorPath</key>
<string>#{var}/log/stripe-mock.log</string>
<key>StandardOutPath</key>
<string>#{var}/log/stripe-mock.log</string>
</dict>
</plist>