Skip to content

Commit

Permalink
fix(google-maps-scraper)
Browse files Browse the repository at this point in the history
 closes #7475

 closes #7455
  • Loading branch information
jhheider committed Oct 1, 2024
1 parent 1592f82 commit bb440de
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions projects/github.com/gosom/google-maps-scraper/package.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
distributable:
url: https://github.com/gosom/google-maps-scraper/archive/v{{version}}.tar.gz
strip-components: 1

versions:
github: gosom/google-maps-scraper

dependencies:
curl.se/ca-certs: '*'

build:
dependencies:
go.dev: ^1.21.1
linux/aarch64:
# linux/aarch64 wants gold
gnu.org/gcc: '*'
gnu.org/binutils: '*'
script:
- go build $GO_ARGS -ldflags="$LDFLAGS" .
env:
Expand All @@ -20,8 +27,10 @@ build:
linux:
LDFLAGS:
- -buildmode=pie

provides:
- bin/google-maps-scraper

test:
- google-maps-scraper -input example-queries.txt -json -results restaurants.json -exit-on-inactivity 3m
- ls | grep restaurants.json

0 comments on commit bb440de

Please sign in to comment.