- GST/HST calculator
- upload receipts
- sum up HST across all the receipts
- subtract the expense hst from the revenue hst
- install
aspect
build tool here - generate build files
bazel run //:gazelle
- inspect generated build files
git diff
- commit generated build files
- select a target to run (e.g. in
//:BUILD.bazel
there is:xat_go
) - run the target
bazel run //:xat_go
- Install
bazelisk
as a wrapper forbazel cli
here. - The rest follows from MacOS setup:
- generate build files
bazel run //:gazelle
- inspect generated build files
git diff
- commit generated build files
- select a target to run (e.g. in
//:BUILD.bazel
there is:xat_go
) - run the target
bazel run //:xat_go
- generate build files
fly auth login
podman init
podman start
podman login registry.fly.io -u x --password $(fly auth token) \
--authfile ~/.docker/config.json
bazel run //cmd/serve:push --config=deploy
fly deploy --config cmd/serve/fly.toml
- avoid using your local go toolchain as it may lead to incompatibility
- use the builtin toolchain instead
bazel run @rules_go//go
as a replacement forgo
- see guide for adding dependencies and managing
go.mod
- enable rust-analyzer LSP support by generating
rust-project.json
bazel run @rules_rust//tools/rust_analyzer:gen_rust_project
- run hello world binary
bazel run //:xat_rust
- declare dependencies in
requirements.in
- compile lockfile
requirements.txt
withbazel run //:requirements.update
- patch lockfile
requirements.patched.txt
withbazel run//:requirements.patch