Commit Graph

10 Commits

Author SHA1 Message Date
jo dc999f9006 Fix shellcheck errors 2021-08-17 12:23:32 +02:00
jo b5f302ac61 Enhance bash shebangs 2021-08-17 12:22:47 +02:00
jo 8b3e09d41c Format shell scripts
Fix flags order
2021-08-17 12:22:46 +02:00
jo c6ce42e6a6 Prevent user interaction with composer install 2021-08-03 14:03:27 +02:00
jo 6871956baa Fix end of files 2021-06-04 17:06:05 +02:00
Lucas Bickel bdc1a6e6a5 Validate contents of VERSION file 2018-01-19 20:56:44 +01:00
Lucas Bickel f794a579d6 Don't pull dev packages on install
We don't need them for the end user runtime and this speeds up the
install quite a bit when installing from the full tarball.

Devs will need to run `composer install` to run unit tests locally
but that's about it.
2017-07-17 22:02:46 +02:00
Lucas Bickel 285ed854f6 Make git optional during build
Currently the installer fails when using a github tarball that comes without a .git folder (https://github.com/LibreTime/libretime/issues/47#issuecomment-285365745).

With this change build.sh only executes git if a .git folder is detected. It uses the name of the downloaded folder as part of the version string if a tarball is used.

I plan on releasing travis-ci built tarballs that contain the tagged version (once we have one) and also have a pre-downloaded composer vendor folder. Those will already contain a VERSION file as well and this change already contains the setup needed for that.
2017-03-09 16:12:44 +01:00
Albert Santoni e855ee6758 Use bash -e in build script 2015-06-29 16:49:16 -04:00
Albert Santoni 73cb14155c Replace the version hashing with git revision hashing to fix browser
caching
2015-02-19 10:01:09 -05:00