Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sebastian Friedl
GYPT Fonts
Commits
cfdfd241
Commit
cfdfd241
authored
Sep 11, 2021
by
Sebastian Friedl
Browse files
Create ZIP archive with fonts
parent
c9064181
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cfdfd241
...
...
@@ -21,12 +21,14 @@ build:
-
echo "Build started on $(date -R)" >> BUILD
script
:
-
./build.py
-
./bundle.sh
after_script
:
-
echo "Build finished on $(date -R)" >> BUILD
artifacts
:
name
:
"
gypt-fonts_$CI_COMMIT_SHORT_SHA"
paths
:
-
BUILD
-
gypt-fonts.zip
expire_in
:
6 hrs
tags
:
-
docker
bundle.sh
0 → 100755
View file @
cfdfd241
#!/usr/bin/env bash
set
-e
# get absolute path to root dir
ROOT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null
&&
pwd
)
"
# clean up artifacts from previous builds
rm
-f
"
$ROOT_DIR
/gypt-fonts.zip"
# create ZIP archive with created fonts
7za a
-tzip
-mm
=
Deflate
"
$ROOT_DIR
/gypt-fonts.zip"
"
$ROOT_DIR
/README.md"
"
$ROOT_DIR
/COPYING"
for
style
in
"serif"
"sans"
"mono"
;
do
7za a
-tzip
-mm
=
Deflate
"
$ROOT_DIR
/gypt-fonts.zip"
"
$ROOT_DIR
/out/gypt-
$style
"
done
dep/dep.apt
View file @
cfdfd241
git
python3
python3-venv
p7zip-full
Write
Preview
Supports
Markdown
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