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
fa927257
Commit
fa927257
authored
8 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Update pixelcannon recipe
parent
b769485c
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
all.sh
+4
-0
4 additions, 0 deletions
all.sh
cook.sh
+12
-11
12 additions, 11 deletions
cook.sh
jenkins.sh
+7
-1
7 additions, 1 deletion
jenkins.sh
recipes/pixelcannon/recipe.sh
+2
-0
2 additions, 0 deletions
recipes/pixelcannon/recipe.sh
with
25 additions
and
12 deletions
all.sh
+
4
−
0
View file @
fa927257
#!/bin/bash
set
-e
for
recipe
in
`
ls
-1
recipes
`
for
recipe
in
`
ls
-1
recipes
`
do
do
./cook.sh
$recipe
$*
./cook.sh
$recipe
$*
...
...
This diff is collapsed.
Click to expand it.
cook.sh
+
12
−
11
View file @
fa927257
...
@@ -61,17 +61,18 @@ function op {
...
@@ -61,17 +61,18 @@ function op {
if
[
"
$(
type
-t
recipe_stage
)
"
=
"function"
]
if
[
"
$(
type
-t
recipe_stage
)
"
=
"function"
]
then
then
recipe_stage ../stage
recipe_stage ../stage
fi
else
#TODO xargo install --root "../stage" $CARGOFLAGS
#TODO xargo install --root "../stage" $CARGOFLAGS
bins
=
"
$(
find target/x86_64-unknown-redox/release/
-maxdepth
1
-type
f
!
-name
'*.*'
)
"
bins
=
"
$(
find target/
$TARGET
/release/
-maxdepth
1
-type
f
!
-name
'*.*'
)
"
if
[
-n
"
$bins
"
]
if
[
-n
"
$bins
"
]
then
then
mkdir
-p
../stage/bin
mkdir
-p
../stage/bin
for
bin
in
$bins
for
bin
in
$bins
do
do
cp
-v
"
$bin
"
"../stage/bin/
$(
basename
$bin
)
"
cp
-v
"
$bin
"
"../stage/bin/
$(
basename
$bin
)
"
strip
-v
"../stage/bin/
$(
basename
$bin
)
"
strip
-v
"../stage/bin/
$(
basename
$bin
)
"
done
done
fi
fi
fi
popd
>
/dev/null
popd
>
/dev/null
;;
;;
...
...
This diff is collapsed.
Click to expand it.
jenkins.sh
+
7
−
1
View file @
fa927257
./all.sh distclean dist publish
#!/bin/bash
set
-e
./all.sh distclean
./all.sh dist
./all.sh publish
This diff is collapsed.
Click to expand it.
recipes/pixelcannon/recipe.sh
+
2
−
0
View file @
fa927257
...
@@ -5,4 +5,6 @@ function recipe_stage {
...
@@ -5,4 +5,6 @@ function recipe_stage {
cp
-Rv
assets
"
$1
/apps/pixelcannon"
cp
-Rv
assets
"
$1
/apps/pixelcannon"
mkdir
-pv
"
$1
/ui/apps"
mkdir
-pv
"
$1
/ui/apps"
cp
-v
manifest
"
$1
/ui/apps/pixelcannon"
cp
-v
manifest
"
$1
/ui/apps/pixelcannon"
mkdir
-pv
"
$1
/ui/bin"
cp
-v
"target/
$TARGET
/release/pixelcannon"
"
$1
/ui/bin"
}
}
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