Commit graph

21 commits

Author SHA1 Message Date
Oliver Blanthorn
3e94800c92
Add error log to gitignore 2021-04-30 12:20:12 +02:00
Oliver Blanthorn
4776d73a52
Remove git dependency for stable rebuilds 2021-04-30 10:04:35 +02:00
Babil Golam Sarwar
55cc429c67
Improve gitignore for OSX users 2021-02-14 12:16:38 +01:00
Oliver Blanthorn
13b1be80bd
Ensure eslint sees temporary files 2020-06-18 15:29:18 +01:00
Colin Caine
09904e2724 Add a yarn.lock 2019-05-31 16:30:06 +01:00
Oliver Blanthorn
879d3ba881
Fix #1594: exclude all generated files 2019-05-27 12:34:05 +01:00
glacambre
4d0f7c84eb
Make the generated metadata typed
This commit makes the compiler pass use different classes in order to
represent the metadata. This enables adding per-class toString/convert
functions. This enables easy type checking and conversion in the `:set`
excmd.
2018-11-04 17:24:16 +01:00
glacambre
72db29b298
Move metadata.ts -> .metadata.generated.ts 2018-08-05 18:38:28 +02:00
glacambre
35466971b7
Implement basic excmd completion
This implements excmd completion. We're using the typescript compiler
API in order to get the documentation and the type of every function of
Tridactyl and generate a file named "src/metadata.ts" which contains
this information. Since this file is dependency-less it can be imported
from every source file.

We then write a regular completion source which just uses the data
contained in metadata.ts in order to generate its completions.
2018-08-05 17:12:49 +02:00
Oliver Blanthorn
beb0b7d740
Fix gitignore for tar on buildbot 2018-06-08 15:26:57 +01:00
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