Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ on:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-Dwarnings"
RUST_BACKTRACE: 1

jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run Clippy
run: cargo clippy --all-targets --all-features
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run Clippy
run: cargo clippy --all-targets --all-features
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format of this changelog is based on [Keep a Changelog](https://keepachangel
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)

## Unreleased
- Added Windows support

## [0.3.3] - 2024-12-14
- Added "list" alias for "db show" subcommand
Expand Down
110 changes: 66 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lectio-diei"
version = "0.3.3"
version = "0.4.0-dev1"
edition = "2021"
description = "CLI application for displaying the daily Catholic readings"
repository = "https://github.com/Squidroot2/lectio-diei"
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Lectio Diei [![Crates.io](https://img.shields.io/crates/v/lectio-diei.svg)](https://crates.io/crates/lectio-diei) [![Build Status](https://github.com/Squidroot2/lectio-diei/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Squidroot2/lectio-diei/actions) [![dependency status](https://deps.rs/repo/github/Squidroot2/lectio-diei/status.svg)](https://deps.rs/repo/github/Squidroot2/lectio-diei)


CLI application for retrieving, storing, and displaying the daily Catholic readings. Retrieved from the [United States Conference of Catholic Bishops site](https://bible.usccb.org/). After being retrieved, the readings are stored in a local sqlite database. This way, they can be displayed on-demand with low latency.

*Please note that this is a personal project and that I am not affiliated with the USCCB*
Expand All @@ -9,7 +10,7 @@ While the core functionality is present, this is still pre-release software. Com
![Command Example](docs/images/display_example_01.png)

## Compatibility
For now, only Linux is supported. The current issue is that the paths for the database, log, and config file follows the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) which MacOS and Windows do not follow. I do have plans to address this.
Works on Windows 11 and Linux. I don't have a means of testing on MacOs but it may work there as well.

## Installation
`lectio-diei` can be installed from crates.io using `cargo`
Expand Down Expand Up @@ -47,7 +48,7 @@ After running any valid command at least once, you should have a config file at
- [ ] Config options from commandline
- [x] Show
- [ ] Change
- [ ] Windows support (maybe others?)
- [x] Windows support
- [x] Store single day without displaying
- [ ] No database mode
- [ ] Database-only mode (Don't retrieve from web if you don't already have it)
Expand Down
Loading
Loading