David PHAM-VAN

Update SVG assets url

Showing 1 changed file with 22 additions and 21 deletions
@@ -20,6 +20,7 @@ CLNG_SRC=$(shell find printing/ios printing/macos printing/windows printing/linu @@ -20,6 +20,7 @@ CLNG_SRC=$(shell find printing/ios printing/macos printing/windows printing/linu
20 SWFT_SRC=$(shell find printing/ios printing/macos -name '*.swift') 20 SWFT_SRC=$(shell find printing/ios printing/macos -name '*.swift')
21 FONTS=pdf/open-sans.ttf pdf/open-sans-bold.ttf pdf/roboto.ttf pdf/noto-sans.ttf pdf/genyomintw.ttf pdf/hacen-tunisia.ttf pdf/material.ttf pdf/emoji.ttf 21 FONTS=pdf/open-sans.ttf pdf/open-sans-bold.ttf pdf/roboto.ttf pdf/noto-sans.ttf pdf/genyomintw.ttf pdf/hacen-tunisia.ttf pdf/material.ttf pdf/emoji.ttf
22 COV_PORT=9292 22 COV_PORT=9292
  23 +SVG_ASSETS_URL=https://raw.githubusercontent.com/dnfield/flutter_svg/master/packages/flutter_svg/example/assets
23 SVG=blend_and_mask blend_mode_devil clip_path clip_path_2 clip_path_2 clip_path_3 clip_path_3 dash_path ellipse empty_defs equation fill-rule-inherit group_composite_opacity group_fill_opacity group_mask group_opacity group_opacity_transform hidden href-fill image image_def implicit_fill_with_opacity linear_gradient linear_gradient_2 linear_gradient_absolute_user_space_translate linear_gradient_percentage_bounding_translate linear_gradient_percentage_user_space_translate linear_gradient_xlink male mask mask_with_gradient mask_with_use mask_with_use2 nested_group opacity_on_path radial_gradient radial_gradient_absolute_user_space_translate radial_gradient_focal radial_gradient_percentage_bounding_translate radial_gradient_percentage_user_space_translate radial_gradient_xlink radial_ref_linear_gradient rect_rrect rect_rrect_no_ry stroke_inherit_circles style_attr text text_2 text_3 use_circles use_circles_def use_emc2 use_fill use_opacity_grid width_height_viewbox flutter_logo emoji_u1f600 text_transform dart new-pause-button new-send-circle new-gif new-camera new-image numeric_25 new-mention new-gif-button new-action-expander new-play-button aa alphachannel Ghostscript_Tiger Firefox_Logo_2017 chess_knight Flag_of_the_United_States 24 SVG=blend_and_mask blend_mode_devil clip_path clip_path_2 clip_path_2 clip_path_3 clip_path_3 dash_path ellipse empty_defs equation fill-rule-inherit group_composite_opacity group_fill_opacity group_mask group_opacity group_opacity_transform hidden href-fill image image_def implicit_fill_with_opacity linear_gradient linear_gradient_2 linear_gradient_absolute_user_space_translate linear_gradient_percentage_bounding_translate linear_gradient_percentage_user_space_translate linear_gradient_xlink male mask mask_with_gradient mask_with_use mask_with_use2 nested_group opacity_on_path radial_gradient radial_gradient_absolute_user_space_translate radial_gradient_focal radial_gradient_percentage_bounding_translate radial_gradient_percentage_user_space_translate radial_gradient_xlink radial_ref_linear_gradient rect_rrect rect_rrect_no_ry stroke_inherit_circles style_attr text text_2 text_3 use_circles use_circles_def use_emc2 use_fill use_opacity_grid width_height_viewbox flutter_logo emoji_u1f600 text_transform dart new-pause-button new-send-circle new-gif new-camera new-image numeric_25 new-mention new-gif-button new-action-expander new-play-button aa alphachannel Ghostscript_Tiger Firefox_Logo_2017 chess_knight Flag_of_the_United_States
24 25
25 all: $(FONTS) demo/assets/logo.svg demo/assets/profile.jpg format printing/example/.metadata get 26 all: $(FONTS) demo/assets/logo.svg demo/assets/profile.jpg format printing/example/.metadata get
@@ -162,87 +163,87 @@ fix: get .dartfix @@ -162,87 +163,87 @@ fix: get .dartfix
162 163
163 ref/svg/%.svg: 164 ref/svg/%.svg:
164 mkdir -p ref/svg 165 mkdir -p ref/svg
165 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/simple/$(notdir $@)" > $@ 166 + curl -L "$(SVG_ASSETS_URL)/simple/$(notdir $@)" > $@
166 167
167 ref/svg/flutter_logo.svg: 168 ref/svg/flutter_logo.svg:
168 mkdir -p ref/svg 169 mkdir -p ref/svg
169 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/$(notdir $@)" > $@ 170 + curl -L "$(SVG_ASSETS_URL)/$(notdir $@)" > $@
170 171
171 ref/svg/dart.svg: 172 ref/svg/dart.svg:
172 mkdir -p ref/svg 173 mkdir -p ref/svg
173 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/$(notdir $@)" > $@ 174 + curl -L "$(SVG_ASSETS_URL)/$(notdir $@)" > $@
174 175
175 ref/svg/text_transform.svg: 176 ref/svg/text_transform.svg:
176 mkdir -p ref/svg 177 mkdir -p ref/svg
177 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/$(notdir $@)" > $@ 178 + curl -L "$(SVG_ASSETS_URL)/$(notdir $@)" > $@
178 179
179 ref/svg/emoji_u1f600.svg: 180 ref/svg/emoji_u1f600.svg:
180 mkdir -p ref/svg 181 mkdir -p ref/svg
181 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/noto-emoji/$(notdir $@)" > $@ 182 + curl -L "$(SVG_ASSETS_URL)/noto-emoji/$(notdir $@)" > $@
182 183
183 ref/svg/new-pause-button.svg: 184 ref/svg/new-pause-button.svg:
184 mkdir -p ref/svg 185 mkdir -p ref/svg
185 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 186 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
186 187
187 ref/svg/new-send-circle.svg: 188 ref/svg/new-send-circle.svg:
188 mkdir -p ref/svg 189 mkdir -p ref/svg
189 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 190 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
190 191
191 ref/svg/new-gif.svg: 192 ref/svg/new-gif.svg:
192 mkdir -p ref/svg 193 mkdir -p ref/svg
193 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 194 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
194 195
195 ref/svg/new-camera.svg: 196 ref/svg/new-camera.svg:
196 mkdir -p ref/svg 197 mkdir -p ref/svg
197 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 198 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
198 199
199 ref/svg/new-image.svg: 200 ref/svg/new-image.svg:
200 mkdir -p ref/svg 201 mkdir -p ref/svg
201 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 202 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
202 203
203 ref/svg/numeric_25.svg: 204 ref/svg/numeric_25.svg:
204 mkdir -p ref/svg 205 mkdir -p ref/svg
205 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 206 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
206 207
207 ref/svg/new-mention.svg: 208 ref/svg/new-mention.svg:
208 mkdir -p ref/svg 209 mkdir -p ref/svg
209 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 210 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
210 211
211 ref/svg/new-gif-button.svg: 212 ref/svg/new-gif-button.svg:
212 mkdir -p ref/svg 213 mkdir -p ref/svg
213 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 214 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
214 215
215 ref/svg/new-action-expander.svg: 216 ref/svg/new-action-expander.svg:
216 mkdir -p ref/svg 217 mkdir -p ref/svg
217 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 218 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
218 219
219 ref/svg/new-play-button.svg: 220 ref/svg/new-play-button.svg:
220 mkdir -p ref/svg 221 mkdir -p ref/svg
221 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/deborah_ufw/$(notdir $@)" > $@ 222 + curl -L "$(SVG_ASSETS_URL)/deborah_ufw/$(notdir $@)" > $@
222 223
223 ref/svg/aa.svg: 224 ref/svg/aa.svg:
224 mkdir -p ref/svg 225 mkdir -p ref/svg
225 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/w3samples/$(notdir $@)" > $@ 226 + curl -L "$(SVG_ASSETS_URL)/w3samples/$(notdir $@)" > $@
226 227
227 ref/svg/alphachannel.svg: 228 ref/svg/alphachannel.svg:
228 mkdir -p ref/svg 229 mkdir -p ref/svg
229 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/w3samples/$(notdir $@)" > $@ 230 + curl -L "$(SVG_ASSETS_URL)/w3samples/$(notdir $@)" > $@
230 231
231 ref/svg/Ghostscript_Tiger.svg: 232 ref/svg/Ghostscript_Tiger.svg:
232 mkdir -p ref/svg 233 mkdir -p ref/svg
233 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/wikimedia/$(notdir $@)" > $@ 234 + curl -L "$(SVG_ASSETS_URL)/wikimedia/$(notdir $@)" > $@
234 235
235 ref/svg/Firefox_Logo_2017.svg: 236 ref/svg/Firefox_Logo_2017.svg:
236 mkdir -p ref/svg 237 mkdir -p ref/svg
237 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/wikimedia/$(notdir $@)" > $@ 238 + curl -L "$(SVG_ASSETS_URL)/wikimedia/$(notdir $@)" > $@
238 239
239 ref/svg/chess_knight.svg: 240 ref/svg/chess_knight.svg:
240 mkdir -p ref/svg 241 mkdir -p ref/svg
241 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/wikimedia/$(notdir $@)" > $@ 242 + curl -L "$(SVG_ASSETS_URL)/wikimedia/$(notdir $@)" > $@
242 243
243 ref/svg/Flag_of_the_United_States.svg: 244 ref/svg/Flag_of_the_United_States.svg:
244 mkdir -p ref/svg 245 mkdir -p ref/svg
245 - curl -L "https://raw.githubusercontent.com/dnfield/flutter_svg/master/example/assets/wikimedia/$(notdir $@)" > $@ 246 + curl -L "$(SVG_ASSETS_URL)/wikimedia/$(notdir $@)" > $@
246 247
247 svg: $(patsubst %,ref/svg/%.svg,$(SVG)) 248 svg: $(patsubst %,ref/svg/%.svg,$(SVG))
248 249