Commit Graph

25 Commits

Author SHA1 Message Date
Giancarlo Di Massa
90eac66ea8
Update sake
Fix bug in sake that happens when the PHP interpreter is a directory with spaces in it.
2024-06-22 18:15:33 +02:00
Hernold Koch
470293a6d2
FIX 'which' check in 'sake' now works for aliases (#11232) 2024-05-20 11:04:44 +12:00
Sabina Talipova
56511c8618 MNT Remove TODO comments 2023-10-30 13:21:09 +13:00
Tim Burt
83d495df2e Add check for existence of 'which' command before proceeding with the script 2019-11-26 11:24:44 +00:00
Damian Mooyman
884fdd61b1
BUG Ensure sake works when called from any directory 2017-10-17 13:52:39 +13:00
Damian Mooyman
5ccbabd36c
BUG Fix sake path lookup to find vendor framework
Remove legacy sapphire lookup
2017-10-12 15:45:43 +13:00
Will Rossiter
d9fd442b0e Install sake into /usr/local/bin. /usr is now protected on OSX
https://support.apple.com/en-us/HT204899
2016-01-22 18:48:58 +00:00
Stephen Shkardoon
1c7f56fcf4 Fix sake not checking all the locations for cli-script.php
Before this, sake wouldn't check the current directory it itself was in.
This wasn't a problem with anything but master.
2013-12-21 12:33:48 +13:00
Will Rossiter
340776feb3 Search parent folders in sake for SilverStripe installation.
Previously sake would only work when run in the root folder. This change checks for a framework or sapphire directory up the parent folders.
2013-02-23 16:41:43 +13:00
Simon Welsh
3a6341a251 API-CHANGE sapphire folder can now be renamed. 2012-04-15 10:50:19 +12:00
Sam Minnee
bc586840be MINOR: Make sake executable 2012-01-10 11:10:38 +13:00
Ingo Schommer
7403056384 BUGFIX Don't show CLI warnings from 'which' command in sake bash script by piping them to /dev/null ('which' fails silently on Debian, but produces warnings on CentOS) (AIR-25) 2011-10-07 14:12:47 +02:00
Ingo Schommer
ce8e72cf0e MINOR Removing executable flag from all files (thanks miiihi) 2011-09-18 22:04:02 +02:00
Sam Minnee
d542ddbb40 ENHANCEMENT Making "sake" script more portable by using "/usr/bin/env" shebang instead of "/bin/bash" (fixes #6045, thanks sychan) (from r111495)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112915 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 04:50:34 +00:00
Ingo Schommer
7164c91de8 Sake fix: look for php binary before php5, to prevent errors on CentOS and Cygwin. (from r104668)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112362 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 00:33:12 +00:00
Ingo Schommer
e73918f144 Added explicit bash handler to sake (from r104667)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112361 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 00:32:43 +00:00
Sam Minnee
8db398a409 ENHANCEMENT: Fixed sapphire execution if you run the uninstalled sake from a foreigh directory. (from r88533)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@89182 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-15 22:24:17 +00:00
Andrew O'Neil
60f75c5ca4 Merged changes from 2.3 branch
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-02-01 23:49:53 +00:00
Ingo Schommer
d26f08b481 MINOR merged branches/2.3 into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@67465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-12-04 22:38:32 +00:00
Sam Minnee
13d55cdfc4 ENHANCEMENT: Updated argument handling for sake
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63057 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-09-25 04:49:01 +00:00
Sam Minnee
9157113dca Added EPMU's process control sake
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@61525 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-26 04:10:37 +00:00
Sam Minnee
1759038d58 Fixed sake to pass cli-script error levels through
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60355 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-11 03:45:55 +00:00
Ingo Schommer
8d0166e298 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60265 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-10 23:29:30 +00:00
Ingo Schommer
0a8f2a67f6 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60228 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 06:18:32 +00:00
Ingo Schommer
016cff2093 (merged from branches/roa. use "svn log -c <changeset> -g <module-svn-path>" for detailed commit message)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60209 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-08-09 04:38:44 +00:00