summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
* Create dedicated check scripts for lockfile accuracy.Owen Jacobson2025-06-11
| | | | There isn't a corresponding fix script for this as the lockfiles are rebuilt every time you run a command that resolves dependencies, in either `cargo` or `npm`. Furthermore, `cargo build` (and anything else that runs `build.rs`) will implicitly run `npm install` and update `package-lock.json` in the process.
* Consolidate project linting into tool scripts.Owen Jacobson2025-06-09
| | | | The new `tools/check-lint` script checks lints across _all_ lintable files - JS (through `eslint`), and Rust (through `clippy` and `cargo check`). It also checks `eslint` against the whole project, not just against what's in the `ui` subdir, which means it now catches lintable issues in various JS config files.
* Consolidate code style checks into tool scripts.Owen Jacobson2025-05-30
| | | | | | The new `tools/check-format` script checks _all_ project formatting - JS (through `prettier`), and Rust (through `rustfmt`). It also checks `prettier` against the whole project, not just against what's in the `ui` subdir, which means it now catches formatting issues in various JS config files (like `.prettierrc` itself). This commit does not include style _fixes_, which means that it does not pass its own `tools/check-format` script. This is intentional, and is intended to make the Git history a bit easier to reason about; a future commit will include format fixes.
* Consolidate testing steps into `tools/test`.ojacobson2025-05-30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've opted to run with `--coverage` to ensure that we continue exercising coverage support. Hat tip to @wlonk for holding me accountable on this - I had thought coverage was broken, but I was holding it wrong. Also adjusts the code coverage failure thresholds to match here-and-now reality. I'm not offering a policy thought here, just making sure we 1. use the coverage checking we have, and 2. set standards we are actually achieving. This was originally part of [another proposal][pr-6]. I've broken it out to make the intent clearer, and to make the proposal easier to get a handle on in isolation from other, related changes. Thanks to @wlonk for their input on this! [pr-6]: https://codeberg.org/ojacobson/pilcrow/pulls/6 Merges prop/test-tool into main.
| * Consolidate testing steps into `tools/test`.Owen Jacobson2025-05-27
| | | | | | | | I've opted to run with `--coverage` to ensure that we continue exercising coverage support. Hat tip to @wlonk for holding me accountable on this - I had thought coverage was broken, but I was holding it wrong.
* | Call `vite` directly to build the frontend.Owen Jacobson2025-05-27
|/ | | | | | Calling through `npm` wasn't adding anything other than complexity, and it made it somewhat harder to follow what tools did what. I'm also pretty sure `tools/build-ui` was totally unused.
* Merge branch 'prop/fewer-run-modes'Owen Jacobson2024-11-28
|\
| * Add separate runners for a freestanding frontend and the (debug version of) ↵Owen Jacobson2024-11-28
| | | | | | | | the unified build.
| * Dedicate `tools/run` to running the development server(s).Owen Jacobson2024-11-22
| | | | | | | | | | | | | | * It now _always_ runs both the backend and the frontend. * The frontend is now _always_ exposed on both `localhost` and on the machine's local network interfaces. The role of running a consolidated server is now handled by `cargo run` (this has been possible since e7d4b6d7ddbcd0128e47476e6cd1d824a1929f3c anyways).
* | Tool scripts for running tests.Owen Jacobson2024-11-25
|/ | | | `test-all` instead of `test` to avoid colliding with a shell builtin.
* Patch out --host again; npm run formatOwen Jacobson2024-11-19
|
* Merge branch 'main' into wip/touch-eventsKit La Touche2024-11-09
|\
| * Rename the project to `pilcrow`.Owen Jacobson2024-11-08
| |
* | Set up framework for testing touch eventsKit La Touche2024-11-04
|/ | | | | | | | | | This includes a change to tools/run that exposes the dev server on my local network. This change should not make it into the final form of this branch. This is so I can use actual for real touch events on my actual for real phone, hooked up for remote debugging to my computer so I can see console events etc.
* Merge branch 'main' into wip/mobileKit La Touche2024-10-30
|\
| * Package `hi` for Debian.Owen Jacobson2024-10-29
| | | | | | | | | | | | | | | | | | | | | | | | This commit provides a Docker-based build process for generating `.deb` packages, which can be run in Docker Desktop. I don't love it, but it's the best option I have _right now_ for doing this. The resulting packages: * Install `hi` (and `hi-recanonicalize`), in `/usr/bin`. * Create a user (`hi`) and a data directory (`/var/lib/hi`). * Create and start a systemd service unit for `hi`. Packages are built for arm64 and amd64 (aka x86_64).
| * Let `cargo` handle building the UI, where possible.Owen Jacobson2024-10-22
| | | | | | | | This allows skipping the `target/ui` rebuild if the UI has not changed, which has otherwise been a bit of a source of drag on my development speed.
* | Do a big mobile app design thingKit La Touche2024-10-23
|/ | | | | | Mobile-friendly anyway. Thanks to [Miriam](https://www.miriamsuzanne.com/) for the CSS that enables a sliding menu on mobile size, constant menu on larger.
* API docs rewrite.Owen Jacobson2024-10-16
| | | | | | Having the whole API in a single file was starting to feel very cramped and constraining. This rewrite breaks it out into sections; as a side effect, the docs are now about 2.5x as long as they were, as the rewrite allows more space for each idea without crowding the page. The docs are best read by running `tools/docs-api`.
* Hoist the UI one step up furtherOwen Jacobson2024-10-10
|
* Remove redundancy in `hi-ui` directory name.Owen Jacobson2024-10-10
|
* Pre-commit needs the UI available, so make it available.Owen Jacobson2024-10-05
|
* Render the UI at /.Owen Jacobson2024-10-05
|
* Tools scripts; `run` to run the server in fewer keystrokesOwen Jacobson2024-08-30