Commit graph

17 commits

Author SHA1 Message Date
David Baker
de1090cc18 Actually pass a function 2020-02-27 21:43:19 +00:00
David Baker
8b8203cea8 Exit with exit code on exception
Otherwise running the check script will just exit with 0 which is
pointless.
2020-02-27 21:37:07 +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
7b8ae78038 More comment 2020-02-19 10:07:02 +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
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
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
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
5fc72e8f73 Lint scripts dir 2020-02-17 14:49:26 +00:00
David Baker
046170e3ec Less hacky fix for yarnrc 2020-02-15 20:17:35 +00:00
David Baker
a0d9359ef0 Working seshat building on Windows 2020-02-15 16:52:41 +00:00
David Baker
0258d456e6 Initial commit of native dependency building. 2020-02-13 23:52:16 +00:00