Commit graph

11 commits

Author SHA1 Message Date
Oliver Blanthorn
7d6491e982
Hide pyinstaller directory 2018-05-28 11:34:13 +01:00
Babil Golam Sarwar
bf920989f3 Add compiled native_main.exe support on Windows
This commit adds support for comiling `native_main.py` into
`native_main.exe` using [PyInstaller][0].

By default, the Powershell installer script would use the compiled
EXE version for Windows. However, the old behaviour can achieved by
using the `-UsePython` flag to `win_install.ps1`.

Currently, the `native_main.exe` is built every time
`scripts/build.sh` is invoked. However, this behavior can be
adjusted by invoking the build script as shown below:

```
  PYINSTALLER="0" npm run build
```

[0]: https://www.pyinstaller.org
2018-05-18 11:44:01 +10:00
Oliver Blanthorn
fad7851829
Fix #394: rename generated source .name.generated.ext 2018-04-22 17:15:40 +01:00
Oliver Blanthorn
7b1000f9d3
Improve build process
Source is now automatically zipped up and put on the webserver's beta/
directory. Protip: don't remove AMOKEYS from .gitignore.
2018-04-20 21:21:37 +01:00
Oliver Blanthorn
ee5c78c7b4
Add generated grammars to gitignore 2018-04-16 16:36:50 +01:00
Isaac Khor
d134bf45d4
Add vscode to gitignore 2018-03-14 21:33:19 +08:00
chocolateboy
0953425cf5 improve pagination:
- prefer the canonical forms over fallback patterns
  (fixes rockpapershotgun.com, Discourse etc.):

  1) link[rel]
  2) a[rel]
  3) a::text(pattern)

- tighten fallback patterns (fixes Google, GitHub etc.)

- remove site-specific patterns
2017-11-23 15:07:48 +00:00
Colin Caine
7697072be1 build: Move scripts out. Make generated files obv.
To speed up builds, typedoc is now run in the background, which means
that the build won't fail if typedoc fails.
2017-11-08 18:13:40 +00:00
Colin Caine
4d109a7796 git: ignore generated excmds files 2017-10-19 05:17:53 +01:00
Colin Caine
5964430fe1 Convert to es6 modules
Motivation:

 - Most test frameworks expect modules
 - I'm told they're the future

Changes:

 - Every typescript source file is now an es6 module
 - Build system is now webpack (tho rollup makes nicer outputs)
 - Outputs of buildsystem are one js file per entry point (background,
   content, commandline_frame)
 - These bundled js files are generated by traversing the dependency
   graph of each entry point
2017-10-02 01:17:32 +01:00
Colin Caine
5368b79a55 Ignore build stuff. 2017-09-25 05:38:38 +01:00