xat
- GST/HST calculator
- upload receipts
- sum up HST across all the receipts
- subtract the expense hst from the revenue hst
Tax Form: https://www.canada.ca/content/dam/cra-arc/migration/cra-arc/tx/bsnss/tpcs/gst-tps/bspsbch/rtrns/wrkngcp-eng.pdf
run
MacOS
- 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
Linux
- Install
bazelisk
as a wrapper for bazel 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
deploy
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
go
- 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 for go
- see guide for adding dependencies and managing
go.mod
rust
python
dependencies
- declare dependencies in
requirements.in
- compile lockfile
requirements.txt
with bazel run //:requirements.update
- patch lockfile
requirements.patched.txt
with bazel run//:requirements.patch