Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
b2b415ca
Commit
b2b415ca
authored
Sep 23, 2016
by
Robert Lyon
Committed by
Gerrit Code Review
Sep 23, 2016
Browse files
Merge "Bug 1622788: Composer step not needed for simplesamlphp"
parents
eb7da369
25e8324d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
b2b415ca
...
...
@@ -41,7 +41,7 @@ composer := $(shell ls external/composer.phar 2>/dev/null)
installcomposer
:
ifdef
composer
@
echo
"Composer al
l
ready installed..."
@
echo
"Composer already installed..."
else
@
echo
"Installing Composer..."
@
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
external
...
...
@@ -57,13 +57,19 @@ cleanssphp:
@
echo
"Cleaning out SimpleSAMLphp..."
rm
-rf
htdocs/auth/saml/extlib/simplesamlphp
ssphp
:
installcomposer
ssphp
:
ifdef
simplesamlphp
@
echo
"SimpleSAMLphp already exists - doing nothing"
else
@
echo
"Pulling SimpleSAMLphp from download ..."
@
curl
-sSL
https://github.com/simplesamlphp/simplesamlphp/releases/download/v1.14.7/simplesamlphp-1.14.7.tar.gz |
tar
--transform
's/simplesamlphp-[0-9]+\.[0-9]+\.[0-9]+/simplesamlphp/x1'
-C
htdocs/auth/saml/extlib
-xzf
-
@
php external/composer.phar
--working-dir
=
htdocs/auth/saml/extlib/simplesamlphp update
# SimpleSAMLPHP release tarball already has all composer dependencies.
# @php external/composer.phar --working-dir=htdocs/auth/saml/extlib/simplesamlphp update --no-dev
@echo
"Deleting unneeded files ..."
# Delete composer.json and .lock files to avoid leaking minor version info
@find
htdocs/auth/saml/extlib
-type
f
-name
composer.json
-delete
@find
htdocs/auth/saml/extlib
-type
f
-name
composer.lock
-delete
@echo
"Done!"
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment