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