Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Akshita Agarwal 3e8bf4307b Delete the razor folder before trying to create offline package 2019-02-08 11:49:21 -08:00
Akshita Agarwal d89d65501d Add the node modules to vscode ignore 2019-02-05 15:22:25 -08:00
Akshita Agarwal ab51ec49a1 Set up things in development mode 2019-01-31 19:13:26 -08:00
Ravi Chande 143ed531e9 INclude Razor grammar files in release packaging 2018-10-04 15:00:47 -07:00
Piotr Puszkiewicz ed60379138
Test the vsix, not the build layout (#2156)
The VSCode C# Extension build process follows the VS Code docs and runs tests directly inside of its repo root. This unfortunately gives a false sense of security because bugs can be introduced during VSIX packaging [particularly due to missing content in node_modules or excluded via .vscodeignore].

This change addresses this problem by moving our CI tests to execute the VSIX instead of the build's intermediate artifacts. Specifically:

build the vsix
unpackage the vsix
instrument the unpackaged vsix
run tests with VS Code Host pointing to the unpackaged vsix
This makes our CI tests ~= to the user's runtime experience and will greatly help us with size reduction efforts.

To support this change, I also moved our build system from package.json to Gulp. This makes the build scripts significantly easier to understand, provides intellisense for build scripts, and build-time type checking for their contents.

I also strengthened the repo's use of .vscodeignore by creating a copy of the file for each scenario [online packages and offline packages]. The new gulp packaging scripts take advantage of these files to produce packages with predictable contents regardless of when packaging occurs. [small caveat, @akshita31 will be adding a test that validates that net-new content does not start sneaking into the vsix package].
2018-04-06 14:17:17 -07:00