Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 440b95005c | |||
| 64013fc279 | |||
| d918e18e56 | |||
| 889ce5b21e | |||
| 26d9147abf | |||
| ffd49df662 |
@@ -0,0 +1,18 @@
|
||||
description = "Basic Ada packages for audio applications"
|
||||
long-description = """
|
||||
# Audio Base
|
||||
This crate contains basic Ada packages for audio applications.
|
||||
"""
|
||||
name = "audio_base"
|
||||
version = "1.0.0"
|
||||
website="https://github.com/Ada-Audio/audio_base"
|
||||
licenses = "MIT"
|
||||
authors=["Gustavo A. Hoffmann"]
|
||||
maintainers = ["gusthoff@gusthoff.com"]
|
||||
maintainers-logins = ["gusthoff"]
|
||||
project-files = ["audio_base.gpr"]
|
||||
tags = ["audio", "riff"]
|
||||
|
||||
[origin]
|
||||
commit = "8646d0adc2be09c57dd16952a329c4342e5ddb3b"
|
||||
url = "git+https://github.com/Ada-Audio/audio_base.git"
|
||||
@@ -0,0 +1,30 @@
|
||||
name = "clic"
|
||||
description = "Command Line Interface Components"
|
||||
version = "0.1.1"
|
||||
|
||||
authors = ["Alejandro R. Mosteo", "Fabien Chouteau"]
|
||||
maintainers = ["alejandro@mosteo.com", "Fabien Chouteau <fabien.chouteau@gmail.com>"]
|
||||
maintainers-logins = ["mosteo", "Fabien-Chouteau"]
|
||||
licenses = "MIT"
|
||||
tags = ["cli", "command-line", "user-input", "tty"]
|
||||
website = "https://github.com/alire-project/clic"
|
||||
long-description = """
|
||||
Command Line Interface Components:
|
||||
- "git like" subcommand handling
|
||||
- TTY color and formatting
|
||||
- User input queries
|
||||
"""
|
||||
|
||||
# TODO: uncomment for alr 1.1.0
|
||||
# [configuration]
|
||||
# disabled = true # CLIC is an Alire dependency using git submodule, so we can't
|
||||
# # use the crate configuration here.
|
||||
|
||||
[[depends-on]]
|
||||
aaa = "~0.2.3"
|
||||
simple_logging = "^1.2.0"
|
||||
ansiada = "~0.1.0"
|
||||
|
||||
[origin]
|
||||
commit = "32a93777a3e1796534e07c59966075a3d6f4f503"
|
||||
url = "git+https://github.com/alire-project/clic.git"
|
||||
@@ -6,6 +6,26 @@ trap 'echo "Interrupted" >&2 ; exit 1' INT
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
|
||||
function check_dependencies_exist() {
|
||||
for dep in $(alr with | tail +1); do
|
||||
if [[ $dep =~ ([a-z0-9_]+)[^a-z0-9_] ]]; then # this should always match the crate name
|
||||
local crate=${BASH_REMATCH[1]}
|
||||
|
||||
if alr list | cut -f1 -d' ' | grep -qw $crate; then
|
||||
return 0 # found
|
||||
else
|
||||
echo "Direct dependency is unknown: $dep (crate name: $crate)"
|
||||
return 1
|
||||
fi
|
||||
else
|
||||
echo Could not identify dependency crate name in: $dep
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
# See whats happening
|
||||
git log --graph --decorate --pretty=oneline --abbrev-commit --all | head -30
|
||||
|
||||
@@ -38,7 +58,7 @@ for file in $CHANGES; do
|
||||
continue
|
||||
fi
|
||||
|
||||
if ! [ -f ./$file ]; then
|
||||
if ! [ -f ./"$file" ]; then
|
||||
echo Skipping deleted file: $file
|
||||
continue
|
||||
fi
|
||||
@@ -76,6 +96,9 @@ for file in $CHANGES; do
|
||||
alr show --solve --detail --external-detect $milestone
|
||||
solution=$(alr show --solve --detail --external-detect $milestone)
|
||||
|
||||
# Check that no direct dependency is unknown
|
||||
check_dependencies_exist()
|
||||
|
||||
# Skip on explicit unavailability
|
||||
if alr show --system $milestone | grep -q 'Available when: False'; then
|
||||
echo SKIPPING crate build: $milestone UNAVAILABLE on system
|
||||
|
||||
Reference in New Issue
Block a user