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
abd11823
Verified
Commit
abd11823
authored
6 years ago
by
jD91mZM2
Browse files
Options
Downloads
Patches
Plain Diff
Fix termplay recipe (sorry)
parent
d97c0880
No related branches found
No related tags found
1 merge request
!140
Fix termplay recipe (sorry)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cook.sh
+12
-0
12 additions, 0 deletions
cook.sh
recipes/termplay/recipe.sh
+1
-1
1 addition, 1 deletion
recipes/termplay/recipe.sh
with
13 additions
and
1 deletion
cook.sh
+
12
−
0
View file @
abd11823
...
@@ -358,8 +358,18 @@ function op {
...
@@ -358,8 +358,18 @@ function op {
fi
fi
bins
=
"
$(
find target/
$TARGET
/
$build
/
-maxdepth
1
-type
f
!
-name
'*.*'
)
"
bins
=
"
$(
find target/
$TARGET
/
$build
/
-maxdepth
1
-type
f
!
-name
'*.*'
)
"
if
[
-z
"
$bins
"
]
then
example
=
true
bins
=
"
$(
find target/
$TARGET
/
$build
/examples/
-maxdepth
1
-type
f
!
-name
'*.*'
!
-name
'*-*'
\
2> /dev/null
||
true
)
"
fi
if
[
-n
"
$bins
"
]
if
[
-n
"
$bins
"
]
then
then
if
[
-n
"
$example
"
]
then
echo
"
$(
tput bold
)
Note
$(
tput sgr0
)
: No binaries detected, using example binaries"
>
&2
fi
mkdir
-p
"../stage/
$BINDIR
"
mkdir
-p
"../stage/
$BINDIR
"
for
bin
in
$bins
for
bin
in
$bins
do
do
...
@@ -370,6 +380,8 @@ function op {
...
@@ -370,6 +380,8 @@ function op {
strip
-v
"
$bin
"
-o
"../stage/
$BINDIR
/
$(
basename
$bin
)
"
strip
-v
"
$bin
"
-o
"../stage/
$BINDIR
/
$(
basename
$bin
)
"
fi
fi
done
done
else
echo
"
$(
tput bold
)
Warning
$(
tput sgr0
)
: Recipe does not have any binaries"
>
&2
fi
fi
docgen ../source ../stage/ref
docgen ../source ../stage/ref
...
...
This diff is collapsed.
Click to expand it.
recipes/termplay/recipe.sh
+
1
−
1
View file @
abd11823
GIT
=
https://github.com/jD91mZM2/termplay.git
GIT
=
https://github.com/jD91mZM2/termplay.git
CARGOFLAGS
=
"--no-default-features --features termion"
CARGOFLAGS
=
"--no-default-features --features termion
--example termplay
"
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