Skip to content

Commit 952f38e

Browse files
Respond to review requests.
1 parent f4e143f commit 952f38e

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ target
77
main.app/
88
*.dmg
99
.DS_Store
10+
src/main/python/console_resources.py

src/main/python/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

utils/glob.ds

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
fn glob_paths_excluding_target
2-
exclude_files = array "src/main/python/console_resources.py"
2+
33
handle = glob_array ${1}
44
out = array
5+
gi_handle = array
6+
gi_handle_unfiltered = gitignore_path_array ./
7+
for i in ${gi_handle_unfiltered}
8+
if not equals ${i} ./
9+
new_var = substring ${i} 2
10+
array_push ${gi_handle} ${new_var}
11+
end
12+
end
513
for i in ${handle}
6-
not_excluded = array_contains ${exclude_files} ${i}
7-
if equals ${not_excluded} \"false\" and (not starts_with ${i} "target")
14+
ignored = array_contains ${gi_handle} ${i}
15+
if not equals ${ignored} \"false\"
816
array_push ${out} ${i}
917
end
1018
end

0 commit comments

Comments
 (0)