Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
cookbook
Compare Revisions
bd71b54545818922d94fe297521e7c4a87347509...d78ad13104ee530a61c9397af7a15ef089e2ce47
Commits (1)
Also build pkg's
· d78ad131
Jeremy Soller
authored
Mar 11, 2020
d78ad131
Hide whitespace changes
Inline
Side-by-side
pkgar
@
0b8522c8
Compare
d3b5dfc7
...
0b8522c8
Subproject commit
d3b5dfc7af711f32ca115bc39d45f77dac4b7b99
Subproject commit
0b8522c860af161f72075da4683c3856e1526ea1
repo.sh
View file @
d78ad131
...
...
@@ -58,6 +58,20 @@ do
echo
-e
"
\0
33[01;38;5;155mrepo -
$recipe
up to date
\0
33[0m"
>
&2
fi
fi
if
[
!
-f
"recipes/
$recipe
/stage.pkg"
]
then
echo
-e
"
\0
33[01;38;5;155mrepo - packaging
$recipe
\0
33[0m"
>
&2
./cook.sh
"
$recipe
"
pkg
$DEBUG
else
TIME_STAGE
=
"
$(
$STAT
-c
"%Y"
recipes/
$recipe
/stage.tar.gz
)
"
TIME_PKG
=
"
$(
$STAT
-c
"%Y"
recipes/
$recipe
/stage.pkg
)
"
if
[
"
$TIME_STAGE
"
-gt
"
$TIME_PKG
"
]
then
echo
-e
"
\0
33[01;38;5;155mrepo - repackaging
$recipe
\0
33[0m"
>
&2
./cook.sh
"
$recipe
"
unpkg pkg
$DEBUG
fi
fi
done
for
recipe
in
$recipes
...
...
@@ -67,6 +81,12 @@ do
echo
-e
"
\0
33[01;38;5;155mrepo - publishing
$recipe
\0
33[0m"
>
&2
./cook.sh
$recipe
publish
fi
if
[
"recipes/
$recipe
/stage.pkg"
-nt
"
$REPO
/
$recipe
.pkg"
]
then
echo
-e
"
\0
33[01;38;5;155mrepo - publishing
$recipe
\0
33[0m"
>
&2
cp
-v
"recipes/
$recipe
/stage.pkg"
"
$REPO
/
$recipe
.pkg"
fi
done
echo
-e
"
\0
33[01;38;5;155mrepo - generating repo.toml
\0
33[0m"
>
&2
...
...