Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (12 sloc) 0.35 kb
#!/bin/bash
# script used to generate the list of packages
DIRS=$(find . -type d | sed "s/.\///")
: ${PACKAGE_FILTER:=cat}
PACKAGES=''
for dir in $DIRS ; do
files=$(find $dir -maxdepth 1 -name '*.opa')
if [ -n "$files" ] ; then
this=$(echo $dir | sed 's/\//./g')
echo "stdlib.$this"
fi
done | sort -u | $PACKAGE_FILTER
Jump to Line
Something went wrong with that request. Please try again.