migrated commands to justfile

This commit is contained in:
specCon18 2023-08-08 01:47:42 -04:00
parent bc27ffab4e
commit 59cbf07099
2 changed files with 13 additions and 22 deletions

12
justfile Normal file
View file

@ -0,0 +1,12 @@
tailwind:
export PATH=${pkgs.nodejs_20}/bin:${pkgs.nodePackages_latest.pnpm}/bin:$PATH
pnpm dlx tailwindcss -i src/styles/tailwind.css -o assets/main.css --watch
dev:
cargo watch -x 'run test_data/test.json'
prettier:
pnpm prettier --write --ignore-unknown .
init-env:
pnpm i