mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-05 01:38:44 +00:00
19 lines
348 B
Bash
Executable File
19 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euxo pipefail
|
|
|
|
echo 'Updating hakari (dependency graph build optimization)'
|
|
|
|
cargo hakari generate
|
|
|
|
echo 'Looking for unused dependencies'
|
|
|
|
# https://github.com/est31/cargo-udeps
|
|
# https://stackoverflow.com/a/72082679
|
|
cargo udeps --all-targets
|
|
|
|
# TODO: Ask for user input before applying some automated heuristics
|
|
|
|
echo 'Done.'
|
|
|