Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
d78ad131
Verified
Commit
d78ad131
authored
5 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Also build pkg's
parent
bd71b545
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pkgar
+1
-1
1 addition, 1 deletion
pkgar
repo.sh
+20
-0
20 additions, 0 deletions
repo.sh
with
21 additions
and
1 deletion
pkgar
@
0b8522c8
Compare
d3b5dfc7
...
0b8522c8
Subproject commit
d3b5dfc7af711f32ca115bc39d45f77dac4b7b99
Subproject commit
0b8522c860af161f72075da4683c3856e1526ea1
This diff is collapsed.
Click to expand it.
repo.sh
+
20
−
0
View file @
d78ad131
...
@@ -58,6 +58,20 @@ do
...
@@ -58,6 +58,20 @@ do
echo
-e
"
\0
33[01;38;5;155mrepo -
$recipe
up to date
\0
33[0m"
>
&2
echo
-e
"
\0
33[01;38;5;155mrepo -
$recipe
up to date
\0
33[0m"
>
&2
fi
fi
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
done
for
recipe
in
$recipes
for
recipe
in
$recipes
...
@@ -67,6 +81,12 @@ do
...
@@ -67,6 +81,12 @@ do
echo
-e
"
\0
33[01;38;5;155mrepo - publishing
$recipe
\0
33[0m"
>
&2
echo
-e
"
\0
33[01;38;5;155mrepo - publishing
$recipe
\0
33[0m"
>
&2
./cook.sh
$recipe
publish
./cook.sh
$recipe
publish
fi
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
done
echo
-e
"
\0
33[01;38;5;155mrepo - generating repo.toml
\0
33[0m"
>
&2
echo
-e
"
\0
33[01;38;5;155mrepo - generating repo.toml
\0
33[0m"
>
&2
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment