Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 934 Bytes

develop.md

File metadata and controls

51 lines (34 loc) · 934 Bytes

Development

Prerequisites

  • Rust (latest version if possible, the earliest supported release is at worst 1 year old)

Build for Development

git clone https://github.com/arihant2math/weathercli.git

To build, run:

cargo build

To have a development-friendly experience, run the following commands

weather config DEVELOPMENT true
weather config DEBUG true

Build Release Executable

Just run:

cargo build -r

Scripts

Scripts automate daily tasks

Update Docs Templates

This script downloads the latest artifacts from GitHub Actions and replaces the executables in docs_templates/ with the new artifacts. A GitHub PAT is needed for the script to work.

./dev-scripts/target/debug/dev-scripts update-docs [gh token here]

Update Index Hashes

./dev-scripts/target/debug/dev-scripts update-index-hashes