mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
* add test for Git * Add Heroku * Add hhvm * Add Homebrew * Add Julia * Add kind * Add Kubernetes Tools * Remove kind and homebrew validate * replace capital letter * Add Leiningen * add source to Leiningen * Add Mercurial * Add conda * Add Netlify * Add packer * Add pollinate * Add Pulumi * Add Phantomjs * Add Haveged * Fix for kubectl * Fix julia installation * Add installer_script_folder env variable to run tests in brew provisioner * Add delay after reboot * Adjust pause settings
21 lines
695 B
Bash
21 lines
695 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: leiningen.sh
|
|
## Desc: Installs Leiningen
|
|
################################################################################
|
|
|
|
source $HELPER_SCRIPTS/invoke-tests.sh
|
|
|
|
LEIN_BIN=/usr/local/bin/lein
|
|
curl -s https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein > $LEIN_BIN
|
|
chmod 0755 $LEIN_BIN
|
|
|
|
# Run lein to trigger self-install
|
|
export LEIN_HOME=/usr/local/lib/lein
|
|
lein
|
|
|
|
LEIN_JAR=$(find $LEIN_HOME -name "leiningen-*-standalone.jar")
|
|
echo "LEIN_JAR=$LEIN_JAR" | tee -a /etc/environment
|
|
echo "LEIN_HOME=$LEIN_HOME" | tee -a /etc/environment
|
|
|
|
invoke_tests "Tools" "Leiningen" |