mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
Speed up build and run tests
This commit is contained in:
16
scripts/help
Executable file
16
scripts/help
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd $(dirname $0)
|
||||
|
||||
echo Targets:
|
||||
|
||||
for i in *; do
|
||||
if [ ! -x $i ] || [ ! -f $i ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
MSG=$(grep '^# help:' $i)
|
||||
if [ -n "$MSG" ]; then
|
||||
echo " " ${i}: $(echo $MSG | sed 's/# help://')
|
||||
fi
|
||||
done
|
Reference in New Issue
Block a user