Make it clear that samples-all is generated

pull/237/head
Alex Dima 9 years ago
parent af1a2ba847
commit 077be8bd68

@ -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 = [];

@ -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,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) {

Loading…
Cancel
Save