Browse Source

Make it clear that samples-all is generated

Alex Dima 8 years ago
parent
commit
077be8bd68
4 changed files with 3 additions and 3 deletions
  1. 1 1
      gulpfile.js
  2. 0 0
      test/samples-all.generated.js
  3. 1 1
      test/samples.js
  4. 1 1
      test/smoketest.js

+ 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) {