Damien Elmes
8d90b6b061
run buildifier/buildozer to tidy up BUILD files
2021-12-14 09:18:24 +10:00
Damien Elmes
43c41d76ba
fix cargo-env on darwin-aarch64
2021-12-04 17:03:03 +10:00
Damien Elmes
195361ed46
add script to put node/yarn on path
2021-12-03 20:35:53 +10:00
Abdo
896d11546b
Fix invalid path in cargo-env.bat ( #1477 )
...
* Fix invalid path in cargo-env.bat
* Assume cargo-env.bat is run from repo root; fix package script (dae)
* mention cargo-raze doesn't work on Windows (dae)
2021-11-05 11:08:23 +10:00
Damien Elmes
abd671d4cd
fix ts-run
...
Closes #1468
2021-10-30 09:14:43 +10:00
Damien Elmes
5a8e064a7d
updated package scripts
2021-10-28 18:46:45 +10:00
Damien Elmes
036d04a7b1
support args to ts-run
2021-10-26 20:11:35 +10:00
Damien Elmes
d19b943e1a
update to latest pyqt5.15
...
Our tooling now handles the extra wheels correctly
2021-10-25 09:42:14 +10:00
Damien Elmes
5a055db02e
fix broken build on case-insensitive filesystems; sort Docker deps
2021-10-23 20:49:47 +10:00
Damien Elmes
ab01677ff1
add dockerfiles for amd64 and arm64 builds
2021-10-23 20:42:16 +10:00
Damien Elmes
bf6efde785
add script to bring cargo into environment
2021-10-23 10:56:18 +10:00
Damien Elmes
a14eb6a1e8
improve PyQt install
...
- use a single script for all PyQt versions
- add hashes
- add a new ./run-qt5.14 script for testing with PyQt5.14
2021-10-23 10:56:17 +10:00
Damien Elmes
048a9a2b60
vendor stringcase
...
It's a tiny library that has not been updated in years, and it was
leading to a warning on startup:
DeprecationWarning: invalid escape sequence \W
return re.sub("\W+", "", string)
2021-10-22 08:56:44 +10:00
Damien Elmes
cbc358ff0b
add aliases to run vendored python and node from command line
...
You can then do './scripts/python -m venv /path/to/venv' to create
a virtual env based on the bundled Python, which can be handy if
you don't happen to have the appropriate version of Python installed
separately.
2021-10-18 19:50:41 +10:00
Damien Elmes
5e604df306
pip/ -> python/
2021-10-18 19:50:40 +10:00
Damien Elmes
1701937cba
expose pyqt6 packages - not yet used
2021-10-15 10:47:53 +10:00
Damien Elmes
46b80ca773
move node_modules into root folder [action required]
...
Recommend removing ts/node_modules folder before attempting to
build after this update.
This moves ts/node_modules into the root of the project to work around
https://github.com/ankitects/anki/pull/1405#issuecomment-936213861
Also fixes the sass errors shown when running scripts/svelte-check
2021-10-07 11:42:27 +10:00
Damien Elmes
e46ca4ee54
update svelte-check
...
Invoking from scripts/svelte-check is currently broken due to sass
imports - it appears to have been broken some time back.
2021-09-29 12:27:27 +10:00
Damien Elmes
fc0035306c
drop Rust Analyzer Bazel rule
...
With proper excludes set up, starting it outside of Bazel is similarly
fast, and unit tests work correctly. It also makes initial Bazel startup
faster, as the Rust sources no longer need to be fetched.
2021-07-19 23:27:11 +10:00
Damien Elmes
1011dfec9b
add script to run Rust Analyzer using Bazel's build products
...
Considerably speeds up initial load, but have not done much testing
yet.
2021-05-04 20:06:42 +10:00
Damien Elmes
9a3f9e12ea
enable webengine port in scripts/ts-run
2021-04-16 11:48:46 +10:00
Damien Elmes
9a409c7b8c
fix scripts/svelte-check invocation
...
@hgiesel there are a couple of warnings shown there that are not currently
being picked up with the Bazel tests
2021-04-16 10:28:37 +10:00
Damien Elmes
3e6df402ae
add example script to run svelte-check outside Bazel
...
todo: investigate why it's reporting one issue that is not caught
when testing with Bazel
2021-04-15 14:32:38 +10:00
Damien Elmes
0b8ae7225a
add a shortcut to speed up local ts dev
...
@hgiesel if you're not already doing something like this, you might
find this useful
2021-04-14 23:21:33 +10:00
Damien Elmes
c6540a082a
Revert "add formatting experiment for posterity"
...
This reverts commit a63edb989d
.
2021-04-14 19:12:14 +10:00
Damien Elmes
a63edb989d
add formatting experiment for posterity
2021-04-14 19:12:05 +10:00
Damien Elmes
c49d6ce49f
run black/isort on Python scripts
2021-04-14 18:22:02 +10:00
Damien Elmes
01049b1289
add an updated script to run mypy as a daemon
...
Sadly doesn't work on Windows
2021-04-14 18:10:38 +10:00
Damien Elmes
62423bd041
add missing copyright headers to *.svelte
2021-04-13 19:02:41 +10:00
Damien Elmes
28fdbd67ae
add missing copyright headers to *.rs
2021-04-13 18:59:16 +10:00
Damien Elmes
e520e8df02
add missing copyright headers to *.ts
2021-04-13 18:57:08 +10:00
Damien Elmes
948fc5f777
add missing copyright headers to *.py
2021-04-13 18:45:35 +10:00
Damien Elmes
6f7a4bf29e
update rules_rust with worker refactor
...
If you were using the optional Rust worker support, please see the
change to development.md
2021-03-30 17:24:51 +10:00
Damien Elmes
89d249b3b6
update to the latest rules_rust + security framework update
2021-03-27 19:28:19 +10:00
Damien Elmes
dfbb415db3
accept args in scripts/runopt
2021-01-12 18:47:08 +10:00
Damien Elmes
13f26ac684
force worker off for release ./run
2021-01-12 18:47:08 +10:00
Damien Elmes
d01391b40d
disable worker when building wheels
...
Will override a user.bazelrc setting, except if it's specified
for a specific OS (eg build:windows)
2020-12-12 10:27:18 +10:00
Damien Elmes
0cbb60169c
simplify wheel building
2020-12-10 20:27:21 +10:00
Damien Elmes
0afdbdf7e0
move Linux & Mac tests to Buildkite
2020-12-08 22:23:27 +10:00
Damien Elmes
bce1f56dde
document optimized builds and add helper script
2020-12-07 11:50:03 +10:00
Damien Elmes
1e8e4ee603
move other i18n scripts to ftl/
2020-11-22 15:41:14 +10:00
Damien Elmes
0b848eae56
update remaining python format strings to Fluent
2020-11-22 14:57:53 +10:00
Damien Elmes
7fe41a364a
add script to extract FTL strings
2020-11-19 11:26:09 +10:00
Damien Elmes
fcb3283a9d
move ftl into top level ftl/ folder; make it source of truth for aqt
...
This avoids the need to modify the external repo before new strings
can be used in aqt.
2020-11-18 16:20:58 +10:00
Damien Elmes
c9a6fe4aab
update synci18n.py
2020-11-18 13:43:25 +10:00
Damien Elmes
1c5f94d46f
strip out unused gettext refs
2020-11-18 13:22:51 +10:00
Damien Elmes
adbef730a6
ensure repos.bzl is up to date at end of run
2020-11-11 21:26:47 +10:00
Damien Elmes
64fffd1bfc
add option to skip pot update; update sha1 after commit
2020-11-11 21:23:27 +10:00
Damien Elmes
8d4df820cc
update i18n scripts
...
- export updated .po files for consumption
- add a script to pull and push translations
2020-11-11 21:08:06 +10:00
Damien Elmes
f8f2839b55
add pyqtwebengine to wheel deps and bump minimum required pyqt
2020-11-11 10:33:49 +10:00