Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 16 lines (12 sloc) 0.358 kb
22b433a Don't assume that bash is in /bin
Frédéric Perrin authored
1 #!/usr/bin/env bash
fccc685 Initial open-source release
MLstate authored
2 # script used to generate the list of packages
3
4 DIRS=$(find . -type d | sed "s/.\///")
5
6f12a0c [feature] build/opa: a variable that makes limiting the part of the stdl...
Louis Gesbert authored
6 : ${PACKAGE_FILTER:=cat}
7
fccc685 Initial open-source release
MLstate authored
8 PACKAGES=''
9 for dir in $DIRS ; do
10 files=$(find $dir -maxdepth 1 -name '*.opa')
11 if [ -n "$files" ] ; then
12 this=$(echo $dir | sed 's/\//./g')
13 echo "stdlib.$this"
14 fi
6f12a0c [feature] build/opa: a variable that makes limiting the part of the stdl...
Louis Gesbert authored
15 done | sort -u | $PACKAGE_FILTER
Something went wrong with that request. Please try again.