21 Commits

Author SHA1 Message Date
Matthias Mullie
bf87a5cdc2 Combine imports/import files earlier
If we wait until after adjusting the paths relative to the new
target, we may fail to import them because the path they'll be
relative to may not yet exist.

If we do it after moving path
2016-01-06 17:18:37 -08:00
Matthias Mullie
3da112a6a3 Create target dir for tests, it's required to resolve path 2016-01-06 17:10:31 -08:00
Matthias Mullie
5612427e40 Add tests for symlinked folders 2016-01-06 16:38:59 -08:00
Matthias Mullie
a39e04c6ea Fix symlink tests 2016-01-06 15:11:54 -08:00
Matthias Mullie
0cd5108683 Add tests for symlinked files
Fixes #77
2016-01-04 23:43:18 -08:00
Matthias Mullie
791e81a529 Use more sensible test CSS 2016-01-04 15:57:15 -08:00
Wouter M. van Vliet
782ea423e4 Add test for fixed issue 2015-09-02 17:33:56 +02:00
Matthias Mullie
15e564ff49 Fix relative target path tests 2015-05-13 18:03:46 +02:00
Matthias Mullie
e26263e566 Add test for issue #49 2015-05-05 14:52:16 +02:00
Matthias Mullie
86448c21ac Fix recursive relative path resolving
I had to split the action of minification into a separate
method because recursively importing files requires them
to also be minified, and I don't want that one to write
to a file.
2015-03-06 12:01:30 +01:00
Matthias Mullie
5114e7f22c Add tests for issue #39
Fixes issue #39
2015-02-20 17:27:10 +01:00
Matthias Mullie
b45004a092 Don't mess up when there's whitespace between url( and ['"]
Fixed issue #29
2015-01-09 14:41:14 +01:00
Matthias Mullie
5bbd856b02 Improve CSS minifier, add some whitespace rules
Meanwhile also moved to use the same method JS does to
extract strings, which allows us to be more agressive on
stripping whitespace.
2014-10-30 10:16:31 +01:00
Matthias Mullie
8378037ee4 Add tests for recent issues 2014-10-20 11:08:51 +02:00
Matthias Mullie
38ad5cf0de Add tests for relative paths in CSS 2014-10-12 22:07:59 +02:00
Matthias Mullie
0b44d82991 Add test for absolute path in CSS
Meanwhile fixed conditions to import file; shouldn't be
&=, as that doesn't short-circuit the and (it still executes)
2014-10-12 22:01:13 +02:00
Matthias Mullie
acfc15b0de Make import media queries work 2014-10-12 21:55:30 +02:00
Matthias Mullie
6f36512148 Alternative workaround for regex requiring recent PCRE 2014-10-12 21:41:25 +02:00
Matthias Mullie
c782c473f9 Improve test coverage for CSS minifier 2014-10-12 21:10:22 +02:00
Matthias Mullie
52038b1380 Remove target test file, add .gitignore instead
Meanwhile cleaned up one of the tests to have valid CSS in there
2014-10-09 14:23:31 +02:00
Matthias Mullie
76734ac3f7 Add PHPUnit dist file, move test files around 2014-10-08 16:34:49 +02:00