LeetCodeSharp/justfile

22 lines
410 B
Makefile
Raw Normal View History

2024-08-26 11:22:13 +08:00
#!/usr/bin/env just --justfile
build:
dotnet build -c Release
test:
dotnet test
commit:
#!/usr/bin/env bash
set -euxo pipefail
time=$(date "+%Y%m%d")
message="$time finished."
git add -A
git commit -m "$message"
git push
pull id: build
#!/usr/bin/env bash
cd LeetCodeSharp
dotnet run --project ../LeetCodeSharp.Fetcher/LeetCodeSharp.Fetcher.csproj -- {{id}}