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

Move repo.toml

parent 08660332
No related branches found
No related tags found
No related merge requests found
...@@ -229,12 +229,15 @@ then ...@@ -229,12 +229,15 @@ then
echo -e "\033[01;38;5;215mcook - repo\033[0m" >&2 echo -e "\033[01;38;5;215mcook - repo\033[0m" >&2
fi fi
echo "[packages]" > "$REPO.toml" echo "[packages]" > "$REPO/repo.toml"
for toml in "$REPO/"*".toml" for toml in "$REPO/"*".toml"
do do
package="$(basename "$toml" .toml)" package="$(basename "$toml" .toml)"
version="$(grep version "$toml" | cut -d '=' -f2-)" if [ "$package" != "repo" ]
echo "$package =$version" >> "$REPO.toml" then
version="$(grep version "$toml" | cut -d '=' -f2-)"
echo "$package =$version" >> "$REPO/repo.toml"
fi
done done
elif [ -d "$ROOT/recipes/$1" ] elif [ -d "$ROOT/recipes/$1" ]
then then
......
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