Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
font_awesome_flutter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
font_awesome_flutter
Commits
dd08ea2e
Unverified
Commit
dd08ea2e
authored
Apr 06, 2019
by
Michael Spiss
Committed by
GitHub
Apr 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update update tool to recognize custom icons.json
parent
7c1ad706
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
update.sh
tool/update.sh
+11
-0
No files found.
tool/update.sh
View file @
dd08ea2e
#!/usr/bin/env bash
if
[
-e
./icons.json
]
;
then
echo
"Custom icons.json found, using local data only."
dart ./tool/generate_font.dart ./icons.json
dart ./tool/generate_example.dart ./icons.json
dartfmt
-w
./lib/font_awesome_flutter.dart
dartfmt
-w
./example/lib/icons.dart
else
echo
"Updating icons to newest version."
pushd
lib/fonts/
curl
-O
-L
"https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/webfonts/fa-brands-400.ttf"
...
...
@@ -16,3 +26,4 @@ dartfmt -w ./lib/font_awesome_flutter.dart
dartfmt
-w
./example/lib/icons.dart
rm
/tmp/icons.json
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment