mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:55:42 +00:00
Google Sheets exports TSV files with Windows-style CRLF line endings. This causes spurious git diffs when the download scripts are run. Pipe curl output through `tr -d '\r'` to strip carriage returns. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
11 lines
614 B
Bash
Executable File
11 lines
614 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
curl -L "https://docs.google.com/spreadsheets/d/1pv-WMXReccddPwev_YG9IXEGznuGHrYjNNEZ0Rb-ZhM/export?gid=0&format=tsv" | tr -d '\r' > src/main/resources/net/eagle0/shardok/settings.tsv
|
|
curl -L "https://docs.google.com/spreadsheets/d/1p6I5nUMcoAPHIcqikVgbBCFVnqN9dpOEVClbS_wOI7M/export?gid=0&format=tsv" | tr -d '\r' > src/main/resources/net/eagle0/eagle/settings.tsv
|
|
|
|
bazel run //src/main/go/net/eagle0/build/settings_generator:settings_generator -- \
|
|
${PWD}/src/main/resources/net/eagle0/eagle/settings.tsv \
|
|
${PWD}/src/main/scala/net/eagle0/eagle/library/settings/
|
|
bazel run gazelle
|
|
|