Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
feather
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
feather
Commits
b25e6c25
Commit
b25e6c25
authored
May 13, 2017
by
Cole Bemis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update automated build process
parent
6ee71336
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
6 deletions
+28
-6
.gitignore
.gitignore
+2
-0
icons.html
_includes/icons.html
+1
-1
build.sh
bin/build.sh
+3
-5
make-manifest.sh
bin/make-manifest.sh
+15
-0
make-zip.sh
bin/make-zip.sh
+7
-0
icons-manifest.json.old
icons-manifest.json.old
+0
-0
No files found.
.gitignore
View file @
b25e6c25
.DS_Store
node_modules
_site
*.zip
manifest.json
sandbox
stash
_includes/icons.html
View file @
b25e6c25
<ul
class=
"flex flex-wrap justify-center w-80 w-80-ns center mw8 mv0 pl0 list"
>
{% for icon in site.data['
icons-
manifest'] %}
{% for icon in site.data['manifest'] %}
{% capture icon_path %}icons/{{ icon }}.svg{% endcapture %}
<li
class=
"icon relative pa3 ma2 black-90 bg-animate br3 outline-0 pointer"
>
{% include_relative {{ icon_path }} %}
...
...
bin/build.sh
View file @
b25e6c25
#!/usr/bin/env bash
# find and store current version number
version
=
$(
grep
'"version"'
package.json |
cut
-d
'"'
-f4
)
# compress 'icons' directory into feather-[version].zip
zip
-r
feather-
${
version
}
.zip ./icons/
*
\ No newline at end of file
./bin/make-manifest.sh
>
manifest.json
./bin/make-zip.sh
jekyll build
bin/make-manifest.sh
0 → 100755
View file @
b25e6c25
#!/usr/bin/env bash
cd
./icons
n
=
$(
ls
-1
|
wc
-l
)
m
=
0
echo
"["
for
i
in
$(
ls
-1
*
.svg |
cut
-d
'.'
-f
1
)
do
m
=
$((
m
+
1
))
echo
-n
" "
\"
$i
\"
[
"
$m
"
==
$n
]
&&
echo
""
||
echo
","
done
echo
"]"
bin/make-zip.sh
0 → 100755
View file @
b25e6c25
#!/usr/bin/env bash
# find and store current version number
version
=
$(
grep
'"version"'
package.json |
cut
-d
'"'
-f4
)
# compress 'icons' directory into feather-[version].zip
zip
-r
feather-
${
version
}
.zip ./icons/
\ No newline at end of file
icons-manifest.json
→
icons-manifest.json
.old
View file @
b25e6c25
File moved
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