File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ const flags = parseFlags(Deno.args);
1515if ( flags . default ?? true ) {
1616 flags . data ??= true ;
1717 flags . maps ??= true ;
18+ flags . diff ??= Deno . env . get ( "VERCEL_ENV" ) === "preview"
1819 flags . textures ??= true ;
1920 flags . assets ??= true ;
2021 flags . app ??= true ;
Original file line number Diff line number Diff line change 11//Imports
2- import { clone , log , read , save } from "app/build/util.ts" ;
2+ import { log , read , save , clone } from "app/build/util.ts" ;
33import { expandGlob } from "std/fs/mod.ts" ;
44import { basename , dirname } from "std/path/mod.ts" ;
55
@@ -8,10 +8,8 @@ export default async function () {
88 log . step ( "extracting data" ) ;
99
1010 //Setup
11- {
12- await clone ( { repo : "PokeAPI/api-data" , dir : "app/build/cache/data" } ) ;
13- await clone ( { repo : "msikma/pokesprite" , dir : "app/build/cache/creatures" } ) ;
14- }
11+ await clone ( { repo : "PokeAPI/api-data" , dir : "app/build/cache/data" } ) ;
12+ await clone ( { repo : "msikma/pokesprite" , dir : "app/build/cache/creatures" } ) ;
1513
1614 //Extract gender data
1715 const genders = { } as {
You can’t perform that action at this time.
0 commit comments