Make it clear that samples-all is generated

This commit is contained in:
Alex Dima 2016-09-06 12:42:29 +02:00
parent af1a2ba847
commit 077be8bd68
4 changed files with 3 additions and 3 deletions

View file

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