Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 73b7d9e

Browse files
committed
Merge branch 'release-0.3.2'
2 parents 8e070ca + e5bb74d commit 73b7d9e

File tree

6 files changed

+13
-10
lines changed

6 files changed

+13
-10
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT.
22

3+
PL-v0.3.2
4+
- ADD: added .svn to the ignore dirs listing when checking the source dir
5+
- FIX: top-level ignored dirs are now found properly
6+
- THX: thanks to @alienlebarge for the heads up regarding .svn dirs
7+
38
PL-v0.3.1
49
- FIX: made sure the command scripts work in directories that contain spaces
510
- THX: thanks to @mattsims for the heads up

builder/builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Builder CLI - v0.3.1
4+
* Pattern Lab Builder CLI - v0.3.2
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

builder/lib/builder.lib.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Builder Class - v0.3.1
4+
* Pattern Lab Builder Class - v0.3.2
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license
@@ -709,15 +709,13 @@ protected function moveStaticFile($fileName,$copy = "") {
709709
* @return {Boolean} whether the directory should be ignored
710710
*/
711711
protected function ignoreDir($fileName) {
712-
$y = false;
713712
foreach($this->id as $dir) {
714-
$pos = strpos($fileName,DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR);
713+
$pos = strpos(DIRECTORY_SEPARATOR.$fileName,DIRECTORY_SEPARATOR.$dir.DIRECTORY_SEPARATOR);
715714
if ($pos !== false) {
716-
$y = true;
717-
break;
715+
return true;
718716
}
719717
}
720-
return $y;
718+
return false;
721719
}
722720

723721
/**

builder/lib/generator.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Generator Class - v0.3.1
4+
* Pattern Lab Generator Class - v0.3.2
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

builder/lib/watcher.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Watcher Class - v0.3.1
4+
* Pattern Lab Watcher Class - v0.3.2
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

config/config.ini.default

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pp = "/../../public/patterns/";
1111
ie = "scss,DS_Store,less"
1212

1313
// directories and files to ignore when building or watching the source dir, separate with a comma
14-
id = "scss"
14+
id = "scss,.svn"
1515

1616
// choose which ports the websocket services should run on
1717
contentSyncPort = "8002"

0 commit comments

Comments
 (0)