Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
Ben Dean-Kawamura 6f74754b7a Refactored fxa-client
This was part of my work for the auth PR, but I think it's useful
separatedly.

- Updated `fxa-client` to be a single binary.
- Added a cargo alias so it can be run with `cargo fxa [args]`.

I think this makes it easier to use and also will make it easier to
expand the functionality.  It's easier to add another clap subcommand
than to add a new binary.
2023-06-27 13:17:30 +00:00
Ryan Kelly 7099b99b1c Make `cargo uniffi-bindgen` alias work when executed from a crate.
Previously, our special `cargo uniffi-bindgen` alias would work correctly
when executed from the workspace root directory, but would not work when
executed in the root directory of a crate (because from that location,
`cargo run` tries to run a binary from the crate you're in rather than
from the containing workspace).

This tweaks the alias to explicitly specify the package containing
the command, so it should work from any directory.
2021-06-18 05:09:51 +00:00
Ben Dean-Kawamura 14331f97d9 Replacing all_tests.sh
- Created tests.py to replace it.
- Added some new functionality targeted at developers who want to test
  their changes before submitting them for review.
- Moved the functionality from `all_rests_test.sh` into `tests.py`.
  Split it up into 2 parts: rust-tests and nss-bindings.
- Added modes to perform the other tests/linting/formatting that
  all_tests.sh was handling.
- Updated CircleCI config to use tests.py when possible.
2021-05-04 11:41:06 -04:00
Ryan Kelly 056f4e7ef8 Add `cargo uniffi-bindgen` alias for running uniffi-bindgen.
This is an attempt to simplify how we use `uniffi-bindgen`, by making
it easy to run the version used by the workspace rather than assuming
that the user has a correctly-matching version of it installed in their
system cargo.
2021-02-25 16:13:05 +11:00
Tarik Eshaq 065f5a0c73 Adds cargo aliasing to use asdev 2020-06-23 12:20:22 -07:00
Tarik Eshaq e804f3e80a add cargo alias for regenerating protobufs 2020-05-28 13:36:59 -07:00