Damien Elmes
98a16e2e56
more makefile fixes
...
can't rely on SHELLFLAGS on macOS
2020-01-07 18:19:18 +10:00
Damien Elmes
ba901656e2
ensure a failed check aborts build
2020-01-06 13:15:20 +10:00
Damien Elmes
d36791f39b
be explicit about hash length
...
different git versions have different defaults
2020-01-05 12:20:35 +10:00
Damien Elmes
7311e86490
fix buildhash not being updated
2020-01-05 10:28:48 +10:00
Damien Elmes
08d0220385
fix missing develop step in make check
2020-01-04 12:36:27 +10:00
Damien Elmes
53ac8c0f0f
split up build steps in top level makefile
2020-01-04 12:21:58 +10:00
Damien Elmes
351699268a
move top level scripts into makefile
2020-01-04 12:21:58 +10:00
Damien Elmes
3ca39bfda3
move the separate components back into this monorepo
...
Earlier today I pushed a change that split this code up into multiple
repos, but that has proved to complicate things too much. So we're
back to a single repo, except the individual submodules are better
separated than they were before.
The README files need updating again; I will push them out soon.
Aside from splitting out the different modules, the sound code has
moved from from anki to aqt.
2020-01-02 19:43:19 +10:00
Damien Elmes
ab116b7142
add comment about make install
2019-12-30 21:53:11 +10:00
Damien Elmes
0b0a8e29bf
check depends on build
2019-12-27 08:40:46 +10:00
Damien Elmes
ef57fd004b
isort tests; black/isort should notice changes to tests
2019-12-26 07:36:26 +10:00
Damien Elmes
222789e1af
drop oneshell from makefile
...
It's preventing @ prefixes on subsequent lines from being honored.
2019-12-25 16:05:01 +10:00
Damien Elmes
a1af6e61ae
format tests
2019-12-25 14:18:34 +10:00
Damien Elmes
8ef1fa7ed1
bridge->backend
2019-12-25 08:59:33 +10:00
Damien Elmes
02ceab04e7
ignore dot files and generated files when determining rust deps
2019-12-24 19:57:55 +10:00
Damien Elmes
7a91f2be64
generate type stubs for Protobuf; disable pylint on rsbridge
2019-12-24 19:57:54 +10:00
Damien Elmes
65db02ddde
switch to Google's (C++) Protobuf implementation
...
Brings the 100 field test down from 3 secs to 0.15 secs.
"betterproto" indeed!
2019-12-24 19:57:54 +10:00
Damien Elmes
e05b77b083
use protobuf for python/rust bridge
...
If we go ahead with betterproto on the Python side, it will mean
bumping the minimum Python dependency to 3.7.
2019-12-24 19:57:54 +10:00
Damien Elmes
432f2d0fbd
add rust checks, and clean up the makefile
2019-12-24 19:57:54 +10:00
Damien Elmes
349c5ba049
make it possible to implement functionality in Rust
2019-12-24 19:57:54 +10:00
Damien Elmes
fcb242090f
py-test needs to depend on test files
2019-12-24 10:46:02 +10:00
Damien Elmes
9eb5162165
give up on pytype
...
the fix/check/fix cycle is infuriating slow
2019-12-23 11:58:26 +10:00
Damien Elmes
79af342ee8
add black, update for new isort
...
people updating from a previous build, make sure you run
pip install --reinstall requirements.check
2019-12-23 10:31:47 +10:00
Damien Elmes
df9435aae5
js build doesn't require python deps
2019-12-22 19:29:26 +10:00
Damien Elmes
b39568ec96
fix race condition in build scripts
...
- pip dependencies need to be installed sequentially
- move the individual check deps back into a separate file
- qt type hints not required for 'make run'
2019-12-22 10:19:50 +10:00
Damien Elmes
2fb56eceab
remove pytype from 'make check', and split up dev deps
2019-12-22 08:56:47 +10:00
Damien Elmes
a186635a0e
add comment about pretty to makefile
2019-12-20 20:37:29 +10:00
Damien Elmes
8095ad8e4b
use isort to tidy up imports
2019-12-20 19:19:29 +10:00
Damien Elmes
a35824bf86
rebuild gui if any icons change
2019-12-19 21:11:27 +10:00
Damien Elmes
40713067d0
update make instructions
2019-12-19 07:46:25 +10:00
Damien Elmes
bddd92bea3
ignore buildhash when checking if tests need to be re-run
2019-12-18 21:06:47 +10:00
Damien Elmes
9f8070dbc8
fix broken js building
...
- deps need to be defined before used
- incremental builds were not working properly
2019-12-18 17:56:58 +10:00
Damien Elmes
a88894da4f
individual build rules need to depend on prereqs
2019-12-18 17:28:23 +10:00
Damien Elmes
7070148e5a
do typecheck setup as part of prereqs install
2019-12-18 17:18:24 +10:00
Damien Elmes
103ad888d6
add prettier, tidy up makefile
2019-12-18 16:12:02 +10:00
Damien Elmes
74599f0f23
automatically install deps as part of build
2019-12-18 15:09:46 +10:00
Damien Elmes
4d8770c88c
make checks depend on full build
2019-12-18 14:52:53 +10:00
Damien Elmes
45083f3caa
compile typescript in one go
...
much faster, especially with --incremental
2019-12-18 14:33:57 +10:00
Damien Elmes
2196d075bc
update make clean
2019-12-18 13:57:04 +10:00
Damien Elmes
9ba44de5b6
editor
2019-12-18 13:55:52 +10:00
Damien Elmes
e7e4e6414d
deckbrowser and overview
2019-12-18 13:21:58 +10:00
Damien Elmes
4bf9cc8b5e
add typescript to build
2019-12-18 12:53:13 +10:00
Damien Elmes
8d80bdc0d9
avoid running checks/builds when nothing has changed
...
with some defaults taken from https://tech.davis-hansson.com/p/make/
2019-12-18 11:12:17 +10:00
Damien Elmes
2ed80875a9
add missing license file
2018-03-17 10:37:50 +10:00
Daniel Drake
e63ae7d868
Makefile: make xdg-mime calls non-fatal
...
xdg-mime may not be available in the build root being used.
Allow application installation to proceed anyway.
2018-03-15 22:00:21 +08:00
Daniel Drake
334af0ab6c
Makefile: only install required files
...
The previous Makefile is doing "cp *" and hence installing uninteresting
files like the Makefile itself.
Copy only the application-relevant files, and switch to using install
for some of this where we can automatically create parent directories
if required, solving issues when installing into an empty root.
locale installation is optional; as before, locale files will be
installed if they are present, but installation can also proceed
without them.
2018-03-15 21:59:23 +08:00
Daniel Drake
2dbb4f1247
Fix consistency between /usr and /usr/local
...
By default the Makefile installs data into /usr/share (with default prefix
/usr) but the binary is installed into /usr/local/bin (as if the prefix
were /usr/local).
Improve consistency by dropping "local" from the binary path. If the
user wants to install into /usr/local he/she can do PREFIX=/usr/local
2018-03-08 23:22:41 -06:00
Daniel Drake
3dff2aa7f5
runanki.system: fix prefix at install time
...
Currently the Makefile lets you choose your own PREFIX, but
the installed runanki.system always hardcodes the prefix as /usr.
Fix runanki.system at install time to install into the designated
PREFIX.
2018-03-08 23:22:41 -06:00
Damien Elmes
ca9a6fb86c
fix make install for source
2017-01-17 11:25:55 +10:00
Damien Elmes
8bde269194
don't error out if /usr/share/pixmaps doesn't exist
...
folder is missing on freebsd
2013-12-09 11:54:18 +09:00