mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode e6a45f4242ebddb7aa9a229f85555e8a3bd987e2 (#9253)
* Merge from vscode e6a45f4242ebddb7aa9a229f85555e8a3bd987e2 * skip failing tests * remove github-authentication extensions * ignore github compile steps * ignore github compile steps * check in compiled files
This commit is contained in:
@@ -116,6 +116,11 @@ steps:
|
||||
yarn gulp minify-vscode-reh-web
|
||||
displayName: Compile
|
||||
condition: and(succeeded(), ne(variables['CacheExists-Compilation'], 'true'))
|
||||
env:
|
||||
OSS_GITHUB_ID: "a5d3c261b032765a78de"
|
||||
OSS_GITHUB_SECRET: $(oss-github-client-secret)
|
||||
INSIDERS_GITHUB_ID: "31f02627809389d9f111"
|
||||
INSIDERS_GITHUB_SECRET: $(insiders-github-client-secret)
|
||||
|
||||
- script: |
|
||||
set -e
|
||||
|
||||
@@ -74,6 +74,7 @@ function compileTask(src, out, build) {
|
||||
if (src === 'src') {
|
||||
generator.execute();
|
||||
}
|
||||
// generateGitHubAuthConfig();
|
||||
return srcPipe
|
||||
.pipe(generator.stream)
|
||||
.pipe(compile())
|
||||
@@ -96,6 +97,18 @@ function watchTask(out, build) {
|
||||
}
|
||||
exports.watchTask = watchTask;
|
||||
const REPO_SRC_FOLDER = path.join(__dirname, '../../src');
|
||||
/*function generateGitHubAuthConfig() {
|
||||
const schemes = ['OSS', 'INSIDERS'];
|
||||
let content: { [key: string]: { id?: string, secret?: string }} = {};
|
||||
schemes.forEach(scheme => {
|
||||
content[scheme] = {
|
||||
id: process.env[`${scheme}_GITHUB_ID`],
|
||||
secret: process.env[`${scheme}_GITHUB_SECRET`]
|
||||
};
|
||||
});
|
||||
|
||||
fs.writeFileSync(path.join(__dirname, '../../extensions/github-authentication/src/common/config.json'), JSON.stringify(content));
|
||||
}*/
|
||||
class MonacoGenerator {
|
||||
constructor(isWatch) {
|
||||
this._executeSoonTimer = null;
|
||||
|
||||
@@ -88,6 +88,8 @@ export function compileTask(src: string, out: string, build: boolean): () => Nod
|
||||
generator.execute();
|
||||
}
|
||||
|
||||
// generateGitHubAuthConfig();
|
||||
|
||||
return srcPipe
|
||||
.pipe(generator.stream)
|
||||
.pipe(compile())
|
||||
@@ -115,6 +117,19 @@ export function watchTask(out: string, build: boolean): () => NodeJS.ReadWriteSt
|
||||
|
||||
const REPO_SRC_FOLDER = path.join(__dirname, '../../src');
|
||||
|
||||
/*function generateGitHubAuthConfig() {
|
||||
const schemes = ['OSS', 'INSIDERS'];
|
||||
let content: { [key: string]: { id?: string, secret?: string }} = {};
|
||||
schemes.forEach(scheme => {
|
||||
content[scheme] = {
|
||||
id: process.env[`${scheme}_GITHUB_ID`],
|
||||
secret: process.env[`${scheme}_GITHUB_SECRET`]
|
||||
};
|
||||
});
|
||||
|
||||
fs.writeFileSync(path.join(__dirname, '../../extensions/github-authentication/src/common/config.json'), JSON.stringify(content));
|
||||
}*/
|
||||
|
||||
class MonacoGenerator {
|
||||
private readonly _isWatch: boolean;
|
||||
public readonly stream: NodeJS.ReadWriteStream;
|
||||
|
||||
@@ -302,6 +302,10 @@
|
||||
"name": "vs/workbench/services/textMate",
|
||||
"project": "vscode-workbench"
|
||||
},
|
||||
{
|
||||
"name": "vs/workbench/services/workingCopy",
|
||||
"project": "vscode-workbench"
|
||||
},
|
||||
{
|
||||
"name": "vs/workbench/services/workspaces",
|
||||
"project": "vscode-workbench"
|
||||
|
||||
Reference in New Issue
Block a user