1 2 3 4 5 6 7 8
#!/bin/sh if [ ! -d ebin ]; then mkdir ebin fi for FILE in src/*.erl; do erlc -o ebin $FILE done