3
0

Fix tools (macos compat.)

This commit is contained in:
Denis Arh
2018-07-17 15:24:03 +02:00
parent 501ba88efc
commit 152f089148
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -e
PROJECT=$(<.project)
NAMES=$(ls cmd/* -d | xargs -n1 basename)
NAMES=$(find cmd/* -type d | xargs -n1 basename)
for NAME in $NAMES; do
OSES=${OSS:-"linux"}
ARCHS=${ARCHS:-"amd64"}
@@ -17,4 +17,4 @@ for NAME in $NAMES; do
fi
done
done
done
done

View File

@@ -1,6 +1,6 @@
#!/bin/bash
set -e
set -x
_PWD=$PWD
SPECS=$(find $PWD -name 'spec.json' | xargs -n1 dirname)
for SPEC in $SPECS; do