mirror of
https://github.com/dnote/dnote
synced 2026-03-14 22:45:50 +01:00
Configure brew
This commit is contained in:
parent
73c5c9ac67
commit
4355b0c75b
1 changed files with 15 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ builds:
|
|||
- 386
|
||||
|
||||
brew:
|
||||
name: dnote
|
||||
folder: Formula
|
||||
github:
|
||||
owner: dnote
|
||||
name: homebrew-dnote
|
||||
|
|
@ -31,6 +33,19 @@ brew:
|
|||
email: mikeswcho@gmail.com
|
||||
homepage: https://dnote.io
|
||||
description: Capture your learning without leaving the command line
|
||||
dependencies:
|
||||
- go
|
||||
- dep
|
||||
install: |
|
||||
ENV["GOPATH"] = buildpath
|
||||
|
||||
(buildpath/"src/github.com/dnote/cli").install buildpath.children
|
||||
cd "src/github.com/dnote/cli" do
|
||||
system "dep", "ensure"
|
||||
system "go", "build", "-ldflags", "-X main.apiEndpoint=https://api.dnote.io", "-o", bin/"dnote"
|
||||
end
|
||||
test: |
|
||||
system "${bin}/dnote --version"
|
||||
|
||||
changelog:
|
||||
sort: asc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue