Skip to content

Commit

Permalink
build file and powershell script update
Browse files Browse the repository at this point in the history
  • Loading branch information
gautamsi committed Jun 9, 2016
1 parent 086e85e commit 3431c81
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions import fixup script.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -419,4 +419,26 @@ function searchdependencyportstatus($f){

}
}
searchdependencyportstatus "Attachment"

function findChildClass($f){
$match = dir "*.ts" -Recurse | Select-String -Pattern '(import).*\".*\/(?<moduleName>.*)\"\;'
if($match)
{
$moduleNames = $match | %{$_.Matches | %{$_.Groups["moduleName"].Value}}
$moduleNames | %{
if($global:moduleNames -notcontains $_){
$global:moduleNames += $_
Write-Host $_ -ForegroundColor Red
$m2 = dir ($_ + ".ts") -Recurse | Select-String -Pattern '^\s+\w.*throw new Error.*Not implemented.*'
$global:allthrows += $m2
write-host "---------------------------------------------------" -ForegroundColor Yellow
#$list
searchdependencyportstatus $_
}
#else{"skipping $_"}
}

}
}
searchdependencyportstatus "Attachment"
1 change: 1 addition & 0 deletions src/js/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
'moment-timezone': 'empty:',//../../bower_components/moment-timezone/moment-timezone',
'moment': 'empty:',//../../bower_components/moment/moment',
'winjs-node': 'empty:',//../../bower_components/winjs/js/base',
'base64-js': 'empty:'//../../../../../../../node_modules/base64-js/lib/b64.js',
},

optimize:'none',
Expand Down

0 comments on commit 3431c81

Please sign in to comment.