Skip to content
Snippets Groups Projects
Commit fa927257 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Update pixelcannon recipe

parent b769485c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set -e
for recipe in `ls -1 recipes` for recipe in `ls -1 recipes`
do do
./cook.sh $recipe $* ./cook.sh $recipe $*
......
...@@ -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
;; ;;
......
./all.sh distclean dist publish #!/bin/bash
set -e
./all.sh distclean
./all.sh dist
./all.sh publish
...@@ -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"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment