David Baker
9ec2407957
Don't shadow the import
2020-02-27 17:22:10 +00:00
David Baker
a76ebed5d2
Merge branch 'master' into dbkr/docker-env
2020-02-27 17:19:49 +00:00
David Baker
e0631770b5
Always update deb version
...
We always need the debian version to be correct.
2020-02-27 17:17:51 +00:00
David Baker
af1f4715be
Pass through the env var we actually use to docker
2020-02-27 16:52:09 +00:00
David Baker
dffb74f3fd
Merge pull request #32 from vector-im/dbkr/setversion_mk_2
...
Set version in fetch script
2020-02-27 14:30:41 +00:00
David Baker
f58532b556
The variable is called this thing now
2020-02-26 11:59:18 +00:00
David Baker
40dc1d9384
Set version in fetch script
...
Which plays better with doing develop builds.
2020-02-26 11:56:59 +00:00
Michael Telatynski
c644f665f3
Merge pull request #30 from vector-im/t3chguy/spellcheck
...
Upgrade to electron 8.0.1 and implement spellchecking
2020-02-26 09:52:59 +00:00
David Baker
c0e4ad4aff
Merge pull request #31 from vector-im/dbkr/fix_check
...
Fix check script
2020-02-24 17:52:21 +00:00
David Baker
75df21dfb1
Fix check script
...
Each command is an array so needs to be an array of arrays
2020-02-24 17:50:03 +00:00
Michael Telatynski
0d2b7ee157
Upgrade to electron 8.0.1 and implement spellchecking
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-24 17:16:35 +00:00
David Baker
2d053cbc49
Merge pull request #29 from vector-im/dbkr/fetch_develop
...
Support fetching the latest develop build
2020-02-24 17:05:28 +00:00
David Baker
0c28d1bfb2
Use needle consistently
...
and remove unused variable
2020-02-21 18:25:33 +00:00
David Baker
b94c52c244
Support fetching the latest develop build
...
Frustratingly, this requires a buildkite API token, even though
the builds & artifacts are available without auth on the buildkite
website.
2020-02-21 18:17:31 +00:00
David Baker
5e6f3b4f55
Merge pull request #28 from vector-im/dbkr/maybe_enable_subpixel_rendering
...
Hopefully enable subpixel font rendering
2020-02-21 11:42:10 +00:00
David Baker
6cb90add1d
Merge pull request #27 from vector-im/dbkr/copy_hak_modules
...
Add our native modules separately into the files
2020-02-21 11:26:14 +00:00
David Baker
0577abd885
Hopefully enable subpixel font rendering
...
https://github.com/vector-im/riot-web/issues/12443 points out the
electron eccentricity that the background of a BrowserWindow is
'transparent' (whatever that actually means in practice) by default
which causes subpixel font rendering to be disabled. Set an explicit
background colour as per the faq entry.
Fixes https://github.com/vector-im/riot-web/issues/12443
2020-02-21 11:17:18 +00:00
David Baker
90913256f5
Add our native modules separately into the files
...
And also the package.json which, for reasons I'm not going to spend
the next two hours of my life wading through the electron-builder
source to discover, is no longer automatically included after adding
the files pattern. The node_modules folder is handled automatically
though, so is redundant.
Change the output directory structure so we have one directory with
all the built native modules under that we can just add to the files,
rather than having to add each one separately.
NB. electron-builder add its own filters to node_modules so that only
runtime (ie. not devDependencies) are copied. These seem to apply
even for manually specified path within node_modules. We can copy *to*
the node_modules directory, however...
2020-02-21 10:57:52 +00:00
David Baker
0ec93e296f
Merge pull request #26 from vector-im/dbkr/fix_setversion_win
...
Fix setversion script's yarn call on windows
2020-02-20 17:47:15 +00:00
David Baker
52f973b5b6
Merge pull request #25 from vector-im/dbkr/split_32_64_bit_builds
...
Split 32/64 bit building
2020-02-20 17:47:02 +00:00
David Baker
53b7966590
Be more consistent (and match README)
2020-02-20 17:40:19 +00:00
David Baker
dd6f52e2de
Fix setversion script's yarn call on windows
2020-02-19 14:34:27 +00:00
David Baker
8843116357
Split 32/64 bit building
...
As they'll need different native deps
2020-02-19 14:21:33 +00:00
David Baker
d8c8e1b133
Make README md
2020-02-19 14:17:07 +00:00
David Baker
050501b322
Merge pull request #23 from vector-im/dbkr/hak_win_x86
...
Build on 32 bit Windows
2020-02-19 10:16:51 +00:00
David Baker
7b8ae78038
More comment
2020-02-19 10:07:02 +00:00
David Baker
dfef609a3f
We need python too
2020-02-19 10:03:36 +00:00
David Baker
cb96b41645
Merge remote-tracking branch 'origin/master' into dbkr/hak_win_x86
2020-02-19 10:01:18 +00:00
David Baker
da5a0e63ec
Merge pull request #22 from vector-im/dbkr/hak_linux
...
Build seshat on Linux
2020-02-19 10:00:07 +00:00
David Baker
76e40746b0
Merge pull request #21 from vector-im/dbkr/hak
...
Native module builds: matrix-seshat for mac & win
2020-02-19 09:59:48 +00:00
David Baker
84aa8c10c1
Set rust toolchain appropriately
2020-02-18 11:37:27 +00:00
David Baker
69a30fb9d0
also check for patch
2020-02-18 11:05:32 +00:00
David Baker
3b642389f2
First attempt at 32 bit windows building
2020-02-18 11:01:34 +00:00
David Baker
c6784f829a
Apply suggestions from code review
...
More fixes under, 'typing is hard'
Co-Authored-By: poljar <poljar@termina.org.uk>
2020-02-18 09:59:09 +00:00
David Baker
13c627ff64
Typing
...
Co-Authored-By: poljar <poljar@termina.org.uk>
2020-02-18 09:58:09 +00:00
David Baker
28b17d0ec3
More doc
2020-02-17 20:25:10 +00:00
David Baker
1405fe242a
Add libsqlcipher to dependencies
2020-02-17 20:14:28 +00:00
David Baker
b98bf4d302
Remove the in-docker yarn script
...
because for some reason it would take too long to find out, docker
does not set the PATH correctly when run from a yarn script.
2020-02-17 20:12:02 +00:00
David Baker
52032aac14
Docker powered linux building
2020-02-17 20:10:58 +00:00
David Baker
0bfc970619
Document more awfulness
2020-02-17 17:31:01 +00:00
David Baker
e2280ddf0e
Merge remote-tracking branch 'origin/master' into dbkr/hak
2020-02-17 17:27:42 +00:00
David Baker
161a76de46
of course nmake is special too
2020-02-17 15:59:55 +00:00
David Baker
0ccc29e504
missed the script
2020-02-17 15:52:41 +00:00
David Baker
19ee3d4aff
Add some checks for the tools we need
...
May not be exhastive, but useful on Windows where you need to
remember to install stuff.
2020-02-17 15:44:06 +00:00
David Baker
fa3925194d
Lint hak scripts
2020-02-17 14:52:24 +00:00
David Baker
5fc72e8f73
Lint scripts dir
2020-02-17 14:49:26 +00:00
David Baker
feace2626d
Merge pull request #20 from vector-im/port_desktop_fixes
...
Port desktop fixes
2020-02-17 13:09:21 +00:00
David Baker
ef517ee76b
Use the same one as riot-web
2020-02-17 12:00:28 +00:00
David Baker
11e75d0490
better upgrade squirrel-windows too
2020-02-17 11:40:49 +00:00
David Baker
9e59f38dfc
Update electron-builder
2020-02-17 11:23:40 +00:00