Matthew Rothenberg
b2d86a16b2
use perl instead of sed -r to strip colors in test
...
`sed -r` is not present on some BSD based systems, including MacOSX
Darwin. perl is standard pretty much everywhere, so this a more
reliable way to test.
Since this is only used for tests, any performance differences
should not matter significantly.
2014-10-16 15:31:12 -04:00
Matthew Rothenberg
b395596496
dont use grep -P for cross-platform compatibility
...
`grep -P` gives access to the PCRE matching engine, which is nice,
however, the version of grep shipped on many BSD systems (including
Darwin) does not have this flag.
Currently, `grep -P` was being used in the `_includes()` test helper.
For cross platform compatibility in tests, do not rely upon this option.
Luckily, all existing tests seem to work fine without it already!
2014-10-16 15:26:34 -04:00
Matthew Rothenberg
e7c56c7647
only install zsh on boxes that need it
...
don’t bother on macosx (preinstalled) or if the test matrix for that
box isn’t going to be testing in zsh.
this should speed up test runs for most cases, and later we can define
fast_failure and not have to wait for the longer ones.
2014-10-16 15:25:58 -04:00
Matthew Rothenberg
802f4987c3
set up multi-os testing in travis
...
Requires beta access, thankfully the travis gods have blessed us for the
main repo and my fork!
This should allow us to make sure scm_breeze operates reliably in both
Linux and BSD/Darwin, because there are small shell differences
(especially with default tools) that are causing errors I noticed on
MacOSX.
2014-10-16 15:23:10 -04:00
Nathan Broadbent
c575f171c2
Fixed case-insensitive matching... my last commit was pretty dumb
2013-07-09 20:10:57 +12:00
Nathan Broadbent
fc9d7787b1
Updated demo user setup
2013-04-09 12:04:45 +12:00
Nathan Broadbent
7ffbaefb03
Set up demo git user for tests
2013-04-09 12:03:43 +12:00
Nathan Broadbent
dd10be79e2
Re-wrap functions as functions. Fixes issue with RVM reload (cd wrapper will be overwritten without error)
2013-01-30 22:29:05 +13:00
Nathan Broadbent
3692db6a3a
Ensure tests run if RVM isn't loaded but $HOME/.rvm is present
2013-01-30 12:09:44 +13:00
Nathan Broadbent
d1a9df3844
Added keyboard shortcut to append [ ci skip ] to commit message when committing all files
2013-01-30 11:05:59 +13:00
Nathan Broadbent
bc969b3e6f
Fixed tests
2012-11-17 11:49:46 +13:00
Nathan Broadbent
436b0da138
Further ll fixes for escaped spaces and quotes!
2012-10-23 23:34:17 +13:00
Nathan Broadbent
4d62b25ed6
Made tests a bit neater with indentation
2012-10-23 12:39:30 +13:00
Nathan Broadbent
06c2e26804
Added test for ls with subdirectory
2012-10-23 12:30:25 +13:00
Nathan Broadbent
5836617dbf
Fully fixed up ll escaping, added lots of tests
2012-10-23 12:25:28 +13:00
Nathan Broadbent
32a184d8c0
'.' => 'source' (some people alias '.' as something different)
2012-09-19 21:40:29 +12:00
Nathan Broadbent
11f2284c5a
Added SCM Breeze helpers to test helper
2012-09-19 21:35:25 +12:00
Nathan Broadbent
eeb5d321d6
Stub out zsh's vared in tests
2012-08-28 12:26:57 +12:00
Nathan Broadbent
fee234b124
Added tests for shell command wrapping
2012-08-23 11:10:40 +12:00
Nathan Broadbent
accbcc5957
git_expand_args => scmb_expand_args
2012-08-15 21:10:46 +12:00
Nathan Broadbent
9410387485
Added test for new fallback explanation message
2012-08-13 01:23:27 +12:00
Nathan Broadbent
aaf4f5fac5
Use tabs as delimiter so that files with spaces are properly handled. Escape spaces only in exec_git_expand_args, use tabs to split everything else.
2012-08-13 00:22:16 +12:00
Nathan Broadbent
9fe0f45185
Fixed design tests - needs a git repo
2012-08-12 21:45:55 +12:00
Nathan Broadbent
aca96a5e8c
Fix defaut IFS for Ubuntu 11.x
2012-03-08 17:35:03 +08:00
Nathan Broadbent
505f52a8ff
Removed Unnecessary Usage of Cat
2012-01-26 13:38:06 +08:00
Nathan Broadbent
e82e69f1d9
Replaced 1..3 range syntax with 1-3 (Inspired by holygeek's git-number project - https://github.com/holygeek/git-number )
2012-01-26 10:04:48 +08:00
Nathan Broadbent
993c9ee9fc
Replaced all occurences of 'local IFS=' with 'IFS= ... unset IFS'. Fixes #12
2011-12-14 13:27:39 +08:00
Nathan Broadbent
46637dc15c
Allow change to a top-level directory within $GIT_REPO_DIR by prefixing the arg with '/'. Comes with tab completion. For example, if you have a directory ~/src/rails, you can move here by typing 's /ra[TAB]'
2011-12-09 22:59:32 +08:00
Jacob Lukas
bfe91e04f0
Fix whitespace
2011-11-09 20:11:24 -08:00
Jacob Lukas
5e507af747
Fix add/remove with spaces/special characters
2011-11-09 20:02:29 -08:00
Nathan Broadbent
23d0057ac7
Changed behaviour of design() so that each design directory can have version controlled assets
2011-10-22 10:11:00 +08:00
Nathan Broadbent
b70ef4dba1
Added design() function to manage synchronization of design development assets for git repos, without checking them in
2011-10-22 01:54:14 +08:00
Andrew Lorente
cb8a3a6121
Remove dependency on seq
...
seq is unfortunately not available on OSX. Brackets appear to be fully
shell- and platform-independent.
2011-10-20 13:47:19 -07:00
Andrew Lorente
99e4e9dcda
Fix a typo in a function name
2011-10-20 13:47:10 -07:00
Nathan Broadbent
9b24e17c37
Added test to make sure 'gc -m "commit message"' works. (args remain quoted when they contain a space)
2011-10-20 20:37:56 +08:00
Nathan Broadbent
2b73b07c6a
Fixed tests
2011-10-19 22:07:29 +08:00
Nathan Broadbent
72dec92d35
Reorganised code
2011-10-19 18:04:54 +08:00
Nathan Broadbent
4c93fbdaf8
Updated commands and more labels
2011-10-18 01:41:32 +08:00
Nathan Broadbent
425a8ab264
Renamed 'git_repo' to more appropriate 'git_index'
2011-10-18 01:29:01 +08:00
Nathan Broadbent
8222eeafe1
Fixed test paths
2011-10-18 00:39:35 +08:00
Nathan Broadbent
acd8e42ee9
Better shared variable name.
2011-10-18 00:36:36 +08:00
Nathan Broadbent
0feae2a46e
Changed project name.
2011-10-18 00:19:16 +08:00
Nathan Broadbent
e634d0c4b5
Initial Commit - moved out of ubuntu_config.
2011-10-18 00:18:17 +08:00