Skip to content

Commit

Permalink
Speed up fetching CLDR data by using shallow clones.
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanz committed Dec 5, 2020
1 parent 51582a3 commit c9277a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch_data.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

// Fetch country data (CLDR).
echo "Fetching country data.\n";
exec('git clone https://github.com/unicode-org/cldr-json.git ' . __DIR__ . '/assets/cldr');
exec('git clone --depth 1 https://github.com/unicode-org/cldr-json.git ' . __DIR__ . '/assets/cldr');

// Fetch address data (Google).
echo "Generating the url list.\n";
Expand Down

0 comments on commit c9277a6

Please sign in to comment.