Skip to content

Commit

Permalink
fix build process
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Apr 9, 2018
1 parent 5c40dd8 commit 9b88269
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions Application.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ component {
this.mappings[ "/builds" ] = this.cwd & "builds";

public boolean function onRequest( required string requestedTemplate ) output=true {
var logger = new api.build.Logger();

include template=arguments.requestedTemplate;

Expand Down
2 changes: 1 addition & 1 deletion api/build/Logger.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ component {
timeMs: getTickCount() - request.loggerStart
});
cflog (text=arguments.text, type=arguments.type);
echo (text=arguments.text); // waves to travis ci
echo (arguments.text); // waves to travis ci
if (request.loggerFlushEnabled){
request.loggerComponent._renderLog( request.logs[request.logs.len()] );
flush;
Expand Down
4 changes: 2 additions & 2 deletions api/reference/MethodReferenceReader.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ component accessors=true {
try {
return getFunctionData(BIFName);
} catch (e) {
request.logger (text="couldn't find member #BIFName# [#arguments.objectName# #arguments.methodname#]");
request.logger(text="couldn't find member #BIFName# [#arguments.objectName# #arguments.methodname#]");
return {};
}
}
Expand All @@ -38,7 +38,7 @@ component accessors=true {
if ( methods.keyExists( object ) && methods[ object ].keyExists( arguments.method ) ){
return methods[object][arguments.method];
} else {
throw (message="missing method: #object# #arguments.method#");
request.logger(text="missing method: #object# #arguments.method#");
return "";
}

Expand Down
6 changes: 2 additions & 4 deletions api/reference/ReferenceImporter.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ component {
public any function init(){
variables.buildProperties = new api.build.BuildProperties();
variables.cwd = GetDirectoryFromPath( GetCurrentTemplatePath() );

return this;
}

Expand Down Expand Up @@ -241,12 +240,11 @@ related:
- function-#arguments.method.name#
- object-#arguments.method.member.type#
categories:
- #arguments.method.member.type#
";
- #arguments.method.member.type#";
if (arguments.method.keyExists("keywords")){
for( var keyword in arguments.method.keywords ){
if (arguments.method.member.type neq keyword)
pageContent &= Chr(10) & "- " & keyword;
pageContent &= Chr(10) & "- " & keyword;
}
}

Expand Down

0 comments on commit 9b88269

Please sign in to comment.