Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

19 linhas
418 B

  1. #!/bin/bash
  2. # Fail on first error
  3. set -e
  4. ## Check path for exiting rebar instance -- if it's around, use it
  5. ## for compilation (NOT installation!)
  6. `which -s rebar`
  7. if [ $? == 0 ]; then
  8. rebar compile ${@}
  9. else
  10. ## Use raw erlc..
  11. erlc -I include -o ebin src/*.erl
  12. fi
  13. ## Use application installer to perform actual installation
  14. ## into erlang distro
  15. export ERL_LIBS=`(cd .. && pwd)`
  16. priv/rebar install ${@}