Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
opeolluwa committed May 14, 2024
1 parent 19234e2 commit 5e2a244
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test and release web

on:
push:
branches: [release]
branches: [master]
workflow_dispatch:

permissions:
Expand Down
42 changes: 42 additions & 0 deletions utils-web/justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@_list:
just --list --unsorted


alias r := run

bt := '0'

log := "warn"

export JUST_LOG := log

watch:
cargo watch -c -- just verify

run:
trunk serve

test:
cargo test --target wasm32-unknown-unknown

# Perform all verifications (compile, test, lint etc.)
verify: test lint

# Run the static code analysis
lint:
cargo fmt --check

clean:
rm -rf target
rm -f Cargo.lock
rm -rf node_modules


fmt:
cargo fmt


install-tailwindcss:
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64
chmod +x tailwindcss-linux-x64
mv tailwindcss-linux-x64 /usr/bin/tailwindcss

0 comments on commit 5e2a244

Please sign in to comment.