projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05afdaf
)
src/Palete/ValaSource.vala
author
Alan Knowles
<alan@roojs.com>
Tue, 28 Apr 2015 10:22:49 +0000
(18:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 28 Apr 2015 10:22:49 +0000
(18:22 +0800)
src/Palete/ValaSource.vala
patch
|
blob
|
history
diff --git
a/src/Palete/ValaSource.vala
b/src/Palete/ValaSource.vala
index
79c8dc3
..
8989428
100644
(file)
--- a/
src/Palete/ValaSource.vala
+++ b/
src/Palete/ValaSource.vala
@@
-205,7
+205,15
@@
namespace Palete {
continue;
}
//print("Add source file %s\n", path);
+
valac += " " + path;
+
+ if (Regex.match_simple("\\.c$", path)) {
+ context.add_c_source_file(path);
+ continue;
+ }
+
+
var xsf = new Vala.SourceFile (
context,
Vala.SourceFileType.SOURCE,