aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
AgeCommit message (Collapse)Author
2015-07-03Print PLT statusRadek Szymczyszyn
2015-07-03Build a Dialyzer PLT when installing a buildRadek Szymczyszyn
2015-07-03Deduplicate some installation stepsRadek Szymczyszyn
2015-07-03Check for env var value to be non-zero, not its nameRadek Szymczyszyn
2015-01-07trailing white spaceOrien Madgwick
2015-01-07Don't print to stderrOrien Madgwick
`gcc --version` prints defaust configuration to STDERR. It's confusing because it conflicts with the configuration set in KERL_CONFIGURE_OPTIONS. Let's not show it.
2015-01-07Search for `llvm` in a case insensitive way.Orien Madgwick
Later versions now use CAPs
2014-11-07refuse installation in $HOME.Omer Kilic
2014-04-30Remove release from otp_builds on 'delete build' in case when build ↵ILYA Khlopotov
directory is missing
2014-04-28Merge pull request #73 from vlm/patch-1khia
Fix confusing kerl usage string for `update`
2014-04-26Update kerlLev Walkin
2014-04-18Make sure final release is after release candidatesILYA Khlopotov
2014-04-18Fix confusing kerl usage string for `update`Lev Walkin
[lwalkin@lwalkin:~]> ./kerl update usage: ./kerl <releases> should be: [lwalkin@lwalkin:~]> ./kerl update usage: ./kerl update releases This patch fixes that.
2014-04-15We don't need first sed since cut would return lines without delimeterILYA Khlopotov
2014-04-15Fix order of sed commands in the pipeline when we return list of releasesILYA Khlopotov
2014-04-14Support new erlang's release naming convention when we get list of releasesILYA Khlopotov
2014-04-11Follow redirectsILYA Khlopotov
2014-04-07Update kerl to grok KERL_INSTALL_MANPAGES envLev Walkin
The KERL_INSTALL_MANPAGES is ignored if given in the environment. Fixing that by saving and restoring the KERL_INSTALL_MANPAGES along the rest of the options. By the way, KERL_INSTALL_HTMLDOCS is not reset in the beginning of the file, so no save/restore is necessary for it. Though its an inconsistency due to be fixed... as a separate ticket.
2014-02-01Update kerlKenji Rikitake
* Change get_releases() to accept the new naming scheme of `otp_src_MAJOR.MINOR.PATCH.tar.gz`, where MAJOR, MINOR, PATCH are all decimal letters and some additional letters in `[-0-9A-Za-z_.]` (see OTP-11615 on otp_src_17.0-rc1.tar.gz)
2014-01-28Update kerlKenji Rikitake
* Define $_KERL_ACTIVE_DIR when activating * Use $_KERL_ACTIVE_DIR for `kerl status`
2014-01-28Update kerlKenji Rikitake
* Let get_active_path to use $REBAR_PLT_DIR for the current active installation path
2013-11-21Change to env var restoration in activate scriptsanmiguel
Change to direct removal of the pre-known addition from $PATH and $MANPATH
2013-10-23Add support for disabling apps to build via KERL_CONFIGURE_DISABLE_APPLICATIONSJoseph Wayne Norton
If non-empty, you can specify the subset of applications to disable when building (and subsequent installing) Erlang/OTOP with the KERL_CONFIGURE_DISABLE_APPLICATIONS variable, either in your $HOME/.kerlrc file or prepending it to the command line. e.g. KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc"
2013-03-09Add possibility to show the name of the release before the promptAndras Boroska
2013-01-31Merge pull request #37 from norton/norton-git-buildYurii Rashkovskii
Simplify and improve the recipe for git-based builds
2013-02-01Expand regex for matching http://www.erlang.org/download releasesJoseph Wayne Norton
The previous regex did not match with the R16A release available for download from the Erlang/OTP website.
2013-01-31Fix typo with otp_build.logJoseph Wayne Norton
2013-01-31Simplify and improve the recipe for git-based buildsJoseph Wayne Norton
Modify the git-based recipe to simply mirror the remote git repository. If enabled by configuration, download and install the newest official manpages and/or HTML docs as opposed to not installing any documentation for git-based builds. To save disk space and to simplify git operations, the repository format of the local otp repository has been changed to bare format. If caller has previously used the git-based build feature, caller should execute "kerl cleanup all" once to remove any old local otp repositories.
2013-01-30Fix: do not hardcode origin/ to refMotiejus Jakštys
This allows building tags and all other funny kinds of refs.
2013-01-10Removed typo.Ewan
2012-12-08Force the name of the otp_src_.* directory to match expectationsJoseph Wayne Norton
The name of the otp_src_.* directory (e.g. otp_src_R15B03) may not always match with the name (e.g. otp_src_R15B03-1.tar.gz) of it's tarball file. The tar --strip-components option was purposely not used since this option might not be available all of the time.
2012-12-08Use HREF url to extract list of releases from erlang.orgJoseph Wayne Norton
Kerl previously used the contents of the HTML <a> tag for this purpose. Unfortunately, the HTML <a> tag is not always rendered as expected. The old output from "kerl update releases": ------ Getting the available releases from erlang.org... The available releases are: R10B-0 R10B-2 R10B-3 R10B-4 R10B-5 R10B-6 R10B-7 R10B-8 R10B-9 R11B-0 R11B-1 R11B-2 R11B-3 R11B-4 R11B-5 R12B-0 R12B-1 R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02 R13B03 R13B04 R14A R14B R14B01 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03 ------ The new output from "kerl update releases": ------ Getting the available releases from erlang.org... The available releases are: R10B-0 R10B-10 R10B-2 R10B-3 R10B-4 R10B-5 R10B-6 R10B-7 R10B-8 R10B-9 R11B-0 R11B-1 R11B-2 R11B-3 R11B-4 R11B-5 R12B-0 R12B-1 R12B-2 R12B-3 R12B-4 R12B-5 R13A R13B R13B01 R13B02-1 R13B02 R13B03 R13B04 R14A R14B R14B01 R14B02 R14B03 R14B04 R15B R15B01 R15B02 R15B03-1 R15B03 ------
2012-12-02Drop agner leftoversYurii Rashkovskii
2012-12-02Update copyright noticeYurii Rashkovskii
2012-12-02Drop agner supportYurii Rashkovskii
Closes #32
2012-11-22fixing grep exit code handlingd0rc
2012-09-06Update $MANPATH on activate/deactivateRadosław Szymczyszyn
2012-08-04Add cache support for building from gitJoseph Wayne Norton
Clone and re-use Erlang/OTP git repositories. Ensure the locally cached git repository is ready to use before each build by performing a git clean, git reset, git fetch, and git detach.
2012-07-21Add a command that cleans up downloaded archives and build artifactsMichael S. Klishin
2012-07-20Catch more command exit status values as errorsshane
2012-06-14Fix md5 handling on FreeBSD.Peer Stritzinger
FreeBSD also doesn't have md5sum, it has either a command named md5 or openssl in the base system. Added FreeBSD to the list of openssl using OS.
2012-05-14Add support for specifing apps to build via KERL_CONFIGURE_APPLICATIONSJoseph Wayne Norton
If non-empty, you can specify the subset of applications to use when building (and subsequent installing) Erlang/OTOP with the KERL_CONFIGURE_APPLICATIONS variable, either in your $HOME/.kerlrc file or prepending it to the command line. e.g. KERL_CONFIGURE_APPLICATIONS="kernel stdlib sasl"
2012-05-12Add 'kerl deploy' command to deploy an installation to a given host and ↵Joseph Wayne Norton
directory
2011-11-26Basic OpenBSD support.ミューズ
OpenBSD has no md5sum utility. So we use OpenSSL instead of it.
2011-10-24Add support for install HTML docs via KERL_INSTALL_HTMLDOCSDave Smith
2011-10-16Set the -O0 option for using llvm under lion_support.Randy Secrist
2011-10-16Added quotes to protect bash evaluation to determine if gcc-4.2 exists under ↵Randy Secrist
darwin.
2011-10-16Set compiler to llvm if gcc can't be found.Randy Secrist
2011-10-05Erlang supports building on OS X Lion since R14B04Yurii Rashkovskii
2011-08-31Add a new action "prompt"Anthony Ramine
This action takes an optional format string (defaults to " (%s)" like __git_ps1) and prints a string where "%s" stands for the current active Erlang installation name. If the current installation isn't managed by kerl, the path basename is used with an asterisk appended to it. ``` nox@Bellcross:~$ export PS1="\u@\h:\w\$(kerl prompt [%s])\\\$ " nox@Bellcross:~$ . .kerl/installs/R14B03-64/activate nox@Bellcross:~[R14B03-64]$ kerl_deactivate nox@Bellcross:~$ logout ```