This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const path = require("path"); | |
| const fs = require("fs"); | |
| function parseBible(biblePath) { | |
| console.time("parsing time"); | |
| const files = fs.readdirSync(biblePath); | |
| files.filter((file) => file == "books.json"); | |
| const bookNames = JSON.parse( | |
| fs.readFileSync(path.join(biblePath, "books.json")) | |
| ).bookNames; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Function to extract branches from eas.json under the build section | |
| get_branches() { | |
| branches=$(jq -r '.build | to_entries[] | [.key] | @tsv' eas.json) | |
| echo "$branches" | |
| } | |
| echo "Available branches:" | |
| available_branches=$(get_branches) |
OlderNewer