Skip to content

Commit

Permalink
Merge pull request #357 from combine pelias tasks into one for easier…
Browse files Browse the repository at this point in the history
… export of everything you need for pelias
  • Loading branch information
michaelkirk committed Jun 7, 2024
2 parents 6757c3a + 25c66d4 commit 85b694a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ build:
# bbike.org
ARG --required area

# `countries is uses by whosonfirst dataset.
# `countries` is used by whosonfirst dataset.
# If left blank we try to guess the country based on the area argument.
# Use the special value `ALL` when doing a planet build.
ARG countries
Expand All @@ -38,10 +38,16 @@ save:
BUILD +save-otp --area=${area} --transit_feeds=${transit_feeds} --clip_to_gtfs=0
END
BUILD +save-valhalla --area=${area}
BUILD +save-pelias --area=${area} --countries=${countries}
BUILD +save-tileserver-terrain

save-pelias:
FROM +save-base
ARG --required area
ARG countries
BUILD +save-elasticsearch --area=${area} --countries=${countries}
BUILD +save-placeholder --area=${area} --countries=${countries}
BUILD +save-pelias-config --area=${area} --countries=${countries}
BUILD +save-tileserver-terrain

save-polylines:
FROM +save-base
Expand Down

0 comments on commit 85b694a

Please sign in to comment.