summaryrefslogtreecommitdiff
path: root/build.rs
Commit message (Collapse)AuthorAge
* Refer to the correct build command in `build.rs` errors when `npx vite ↵Owen Jacobson2025-06-11
| | | | | | build` fails. This was missed in 4396c912771f136f7d397a67f247c81532520b85.
* Use `npm ci` for automated package installation.Owen Jacobson2025-06-11
| | | | | | | | | | | | From its documentation: > This command is similar to `npm install`, except it's meant to be used in automated environments such as test platforms, continuous integration, and deployment -- or any situation where you want to make sure you're doing a clean install of your dependencies. We don't need a clean install, necessarily - just a complete one that matches the package configuration. However, this command is clearly documented as being used for automated environments, and I think integration with another build tool is close enough to that intention to fit. It also promises not to rewrite `package.json` or `package-lock.json`. (`npm install`, on the other hand, rewrites `package-lock.json` regularly.) As we do not intend to change the source tree when building it, this is the preferred behaviour. Finally, this fixes a behaviour I encountered where certain `cargo` commands - sometimes including `cargo build` - could completely reformat `package-lock.json` without any warning and without any user-visible rationale for it.
* 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.
* Strip out Tailwind etcKit La Touche2024-12-30
|
* 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.
* Store state in sqlite. Default to .hi in the cwd.Owen Jacobson2024-08-30