Commit graph

28 commits

Author SHA1 Message Date
glacambre
cdb5d0ce83
build.sh: Improve compiler pass
This commit makes sure typescript targets es2016 when compiling
gen_metadata.ts and than when generating metadata, only the necessary
files are parsed (src/excmds.ts and src/config.ts for now). This
slightly improves build time.
2018-09-01 21:23:18 +02:00
glacambre
b13956010c
Add list of static themes to generated metadata 2018-08-16 20:56:19 +02: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
47f90395eb
Rerename Windows native install script 2018-07-25 14:39:59 +01:00
Babil Golam Sarwar
02c76e0f00
Fix PowerShell auto-close when native-messenger installation fails 2018-07-11 17:08:44 +10:00
Oliver Blanthorn
352863d98d
Merge pull request #620 from gsbabil/gsbabil/add-appveyor-windows-build-support
Add build with Windows support on AppVeyor
2018-05-28 10:24:00 +01:00
Oliver Blanthorn
b8e9d4a088
Remove global dependency on nearley,typedoc,marked 2018-05-28 10:22:17 +01:00
Babil Golam Sarwar
8cfdbfa7dd Allow build under both MSYS or MINGW 2018-05-28 14:07:46 +10:00
Oliver Blanthorn
98ad63cfc8
Improve discoverability of contributors 2018-05-23 15:39:40 +01:00
Oliver Blanthorn
535dd5bb67
Make injection of theme scripts automatic 2018-05-20 16:22:45 +01:00
Bruno Oliveira
0feaa3d2ca
Improve Tridactyl theming capabilities 2018-05-20 16:22:46 +01:00
Jeff King
2533dbe75f build.sh: prefer "=" to "==" for comparisons
The double-equals introduced by de39d704a5 and 19e3363c92
are bash-isms, and cause the script to complain when run
with another POSIX shell (e.g. dash, which is the default
/bin/sh on Debian).

We can just use "=" here, as the two are equivalent.
2018-05-17 07:04:03 -07:00
Babil Golam Sarwar
e21c20e383
Add PowerShell ExecutionPolicy in build.sh 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
32e74a0e76
Fix some minor typo and lint errors 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
de39d704a5
Fix Python 3 invocation during build on Windows 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
01d103a6ab
Adjust build.sh to use local files 2018-05-17 12:19:54 +01:00
Babil Golam Sarwar
19e3363c92
Add MinGW build support and minor refactoring 2018-05-17 12:18:52 +01:00
Oliver Blanthorn
5f68f9428d
Install native messenger on build; edit text in external editor
Currently we only support gVim and Linux, but `winword.exe` support is
theoretically possible.
2018-04-25 20:43:13 +01:00
Oliver Blanthorn
fad7851829
Fix #394: rename generated source .name.generated.ext 2018-04-22 17:15:40 +01:00
Colin Caine
35bcde6627 Update keyseq
- Add and build grammars
 - Add to content.ts for interactive use
 - Add tests
 - Change bracketExpr parser
 - Improve comments
 - Apply prettier
2018-04-15 22:34:07 +01:00
Oliver Blanthorn
670c5be323
Start tutorial. Currently does not run in extension 2018-04-13 23:30:53 +01:00
glacambre
7750609e6a
build.sh: Fix script copying cleanslate.css to potentially non-existing dir 2018-03-04 14:42:35 +01:00
glacambre
119758454f
Add cleanslate.css 2018-03-04 14:15:26 +01:00
Oliver Blanthorn
d65acf9f64
Fix #117: add :version command
:version currently fills the command line with the version number in
order to display it to the user (hacky) and copies it to the clipboard.
2017-11-26 00:06:02 +00:00
Colin Caine
07d94d5906 build: fail build if scripts fail 2017-11-20 18:13:26 +00:00
Colin Caine
f8d8d76bcc build: fix npm watch 2017-11-15 00:57:10 +00:00
Colin Caine
2d3342af4b build: don't trust webpack shell plugin, exclude large images 2017-11-12 01:44:04 +00:00