Damien Elmes
194ea9b895
add script to put node/yarn on path
2021-12-03 20:35:53 +10:00
Abdo
854fd71c26
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
82ab53c249
fix ts-run
...
Closes #1468
2021-10-30 09:14:43 +10:00
Damien Elmes
73160fd16c
updated package scripts
2021-10-28 18:46:45 +10:00
Damien Elmes
87b94a27fa
support args to ts-run
2021-10-26 20:11:35 +10:00
Damien Elmes
470020b052
update to latest pyqt5.15
...
Our tooling now handles the extra wheels correctly
2021-10-25 09:42:14 +10:00
Damien Elmes
7be3115c4d
fix broken build on case-insensitive filesystems; sort Docker deps
2021-10-23 20:49:47 +10:00
Damien Elmes
45d8b81279
add dockerfiles for amd64 and arm64 builds
2021-10-23 20:42:16 +10:00
Damien Elmes
9b19c9d951
add script to bring cargo into environment
2021-10-23 10:56:18 +10:00
Damien Elmes
ba88e78c87
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
5d72f008f9
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
0af57b4170
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
91ac32484a
pip/ -> python/
2021-10-18 19:50:40 +10:00
Damien Elmes
32cf761e7b
expose pyqt6 packages - not yet used
2021-10-15 10:47:53 +10:00
Damien Elmes
f209a72b7c
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
7ce0b944bd
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
4388ca0a2e
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
54309bab73
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
ce65c1a756
enable webengine port in scripts/ts-run
2021-04-16 11:48:46 +10:00
Damien Elmes
969946b885
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
a8c939b2f9
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
04fa13b968
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
c6a0c57bff
Revert "add formatting experiment for posterity"
...
This reverts commit 03ad39d1a4 .
2021-04-14 19:12:14 +10:00
Damien Elmes
03ad39d1a4
add formatting experiment for posterity
2021-04-14 19:12:05 +10:00
Damien Elmes
2a43d42323
run black/isort on Python scripts
2021-04-14 18:22:02 +10:00
Damien Elmes
e35b2f68ac
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
eb6502bd6e
add missing copyright headers to *.svelte
2021-04-13 19:02:41 +10:00
Damien Elmes
77c0f0effd
add missing copyright headers to *.rs
2021-04-13 18:59:16 +10:00
Damien Elmes
1f475a1709
add missing copyright headers to *.ts
2021-04-13 18:57:08 +10:00
Damien Elmes
926fc2e492
add missing copyright headers to *.py
2021-04-13 18:45:35 +10:00
Damien Elmes
8770eb74f5
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
2338998304
update to the latest rules_rust + security framework update
2021-03-27 19:28:19 +10:00
Damien Elmes
35b041891d
accept args in scripts/runopt
2021-01-12 18:47:08 +10:00
Damien Elmes
e96a382c74
force worker off for release ./run
2021-01-12 18:47:08 +10:00
Damien Elmes
5eca1d3308
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
51635ff7e4
simplify wheel building
2020-12-10 20:27:21 +10:00
Damien Elmes
e4f2586091
move Linux & Mac tests to Buildkite
2020-12-08 22:23:27 +10:00
Damien Elmes
0c935747b3
document optimized builds and add helper script
2020-12-07 11:50:03 +10:00
Damien Elmes
21e6e2d15c
move other i18n scripts to ftl/
2020-11-22 15:41:14 +10:00
Damien Elmes
68311500b3
update remaining python format strings to Fluent
2020-11-22 14:57:53 +10:00
Damien Elmes
829cdaebdd
add script to extract FTL strings
2020-11-19 11:26:09 +10:00
Damien Elmes
2f1d5cd38b
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
aedc733724
update synci18n.py
2020-11-18 13:43:25 +10:00
Damien Elmes
ebd1236ab0
strip out unused gettext refs
2020-11-18 13:22:51 +10:00
Damien Elmes
a44d8e91ac
ensure repos.bzl is up to date at end of run
2020-11-11 21:26:47 +10:00
Damien Elmes
35d83cc9d2
add option to skip pot update; update sha1 after commit
2020-11-11 21:23:27 +10:00
Damien Elmes
c62e6e61c2
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
fb21e89653
add pyqtwebengine to wheel deps and bump minimum required pyqt
2020-11-11 10:33:49 +10:00
Damien Elmes
715f976a21
update Windows CI
2020-11-09 19:09:23 +10:00
Damien Elmes
e049062147
fix missing buildinfo on Windows
2020-11-05 11:21:27 +10:00