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
7dd5bf7c
Unverified
Commit
7dd5bf7c
authored
6 years ago
by
Jeremy Soller
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #140 from jD91mZM2/termplay
Fix termplay recipe (sorry)
parents
d97c0880
5223ca0d
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
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 @
7dd5bf7c
...
...
@@ -358,8 +358,18 @@ function op {
fi
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
"
]
then
if
[
-n
"
$example
"
]
then
echo
"
$(
tput bold
)
Note
$(
tput sgr0
)
: No binaries detected, using example binaries"
fi
mkdir
-p
"../stage/
$BINDIR
"
for
bin
in
$bins
do
...
...
@@ -370,6 +380,8 @@ function op {
strip
-v
"
$bin
"
-o
"../stage/
$BINDIR
/
$(
basename
$bin
)
"
fi
done
else
echo
"
$(
tput bold
)
Warning
$(
tput sgr0
)
: Recipe does not have any binaries"
>
&2
fi
docgen ../source ../stage/ref
...
...
This diff is collapsed.
Click to expand it.
recipes/termplay/recipe.sh
+
1
−
1
View file @
7dd5bf7c
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