mirror of
https://github.com/flutter/samples.git
synced 2025-11-10 14:58:34 +00:00
Run full sample index build when running peanut (#456)
The previous `build-release` task doesn't generate the index file.
This commit is contained in:
@@ -43,7 +43,7 @@ main(List<String> args) async {
|
||||
// Build the sample index and copy the files into this directory
|
||||
print('building the sample index...');
|
||||
await run('samples_index', 'pub', ['get']);
|
||||
await run('samples_index', 'pub', ['run', 'grinder', 'build-release']);
|
||||
await run('samples_index', 'pub', ['run', 'grinder', 'deploy']);
|
||||
|
||||
// Copy the contents of the samples_index/public directory to the build
|
||||
// directory
|
||||
|
||||
Reference in New Issue
Block a user