1
0
Эх сурвалжийг харах

Make it clear that samples-all is generated

Alex Dima 8 жил өмнө
parent
commit
077be8bd68

+ 1 - 1
gulpfile.js

@@ -270,7 +270,7 @@ gulp.task('generate-test-samples', function() {
 	});
 	var prefix = '//This is a generated file via gulp generate-test-samples\ndefine([], function() { return';
 	var suffix = '; });'
-	fs.writeFileSync(path.join(__dirname, 'test/samples-all.js'), prefix + JSON.stringify(samples, null, '\t') + suffix );
+	fs.writeFileSync(path.join(__dirname, 'test/samples-all.generated.js'), prefix + JSON.stringify(samples, null, '\t') + suffix );
 
 	var PLAY_SAMPLES = require(path.join(WEBSITE_GENERATED_PATH, 'all.js')).PLAY_SAMPLES;
 	var locations = [];

+ 0 - 0
test/samples-all.js → test/samples-all.generated.js


+ 1 - 1
test/samples.js

@@ -1,6 +1,6 @@
 /// <reference path="../node_modules/monaco-editor-core/monaco.d.ts" />
 
-define(['./samples-all'], function(ALL_SAMPLES) {
+define(['./samples-all.generated'], function(ALL_SAMPLES) {
 
 	var XHR_SAMPLES = {};
 	ALL_SAMPLES.forEach(function(sample) {

+ 1 - 1
test/smoketest.js

@@ -1,5 +1,5 @@
 /// <reference path="../node_modules/monaco-editor-core/monaco.d.ts" />
-define(['./samples-all'], function(ALL_SAMPLES) {
+define(['./samples-all.generated'], function(ALL_SAMPLES) {
 
 var XHR_SAMPLES = {};
 ALL_SAMPLES.forEach(function(sample) {