Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1dfc9e2

Browse files
Fix build script
1 parent92cad65 commit1dfc9e2

File tree

3 files changed

+33
-9
lines changed

3 files changed

+33
-9
lines changed

‎Build.fsx‎

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ let mainPackageDir = "build/main/deploy/"
1313
letdataBuildDir="build/data/bin/"
1414
letdataPackageDir="build/data/deploy/"
1515

16+
lettypescriptBuildDir="build/typescript/bin/"
17+
lettypescriptPackageDir="build/typescript/deploy/"
18+
1619
letrxBuildDir="build/rx/bin/"
1720
letrxPackageDir="build/rx/deploy/"
1821

19-
lettestBuildDir="build/data/bin/"
22+
lettestBuildDir="build/tests/"
2023

2124
letdependenciesDir="src/packages/"
2225
letversionNumber=
@@ -32,6 +35,10 @@ Target "Clean-Data" (fun _ ->
3235
CleanDirs[dataBuildDir; dataPackageDir]
3336
)
3437

38+
Target"Clean-TypeScript"(fun _->
39+
CleanDirs[typescriptBuildDir; typescriptPackageDir]
40+
)
41+
3542
Target"Clean-Rx"(fun _->
3643
CleanDirs[rxBuildDir; rxPackageDir]
3744
)
@@ -95,6 +102,27 @@ Target "Build-Data" (fun _ ->
95102
|> Log"Build-Data-Output:"
96103
)
97104

105+
Target"Build-TypeScript"(fun _->
106+
107+
// RestorePackages()
108+
// CopyDir dependenciesDir "./packages/" (fun _ -> true)
109+
110+
CreateFSharpAssemblyInfo"src/extra/FunScript.TypeScript/AssemblyInfo.fs"
111+
[
112+
yield Attribute.Title"TypeInferred.FunScript.TypeScript"
113+
yield Attribute.Description"TypeScript Interop Library - FunScript"
114+
yield Attribute.Guid"891C8111-4D9D-45CD-8A8D-77EB817FF8E1"
115+
yield! baseAttributes
116+
]
117+
118+
letprojectFiles=!!"src/extra/FunScript.TypeScript/*.fsproj"
119+
120+
Log"Build-TypeScript-Projects:" projectFiles
121+
122+
MSBuildRelease typescriptBuildDir"Build" projectFiles
123+
|> Log"Build-TypeScript-Output:"
124+
)
125+
98126
Target"Build-Rx"(fun _->
99127

100128
// RestorePackages()
@@ -122,7 +150,7 @@ Target "Build-Test" (fun _ ->
122150

123151
Log"Build-Test-Projects:" projectFiles
124152

125-
MSBuildRelease testBuildDir"Build" projectFiles
153+
MSBuildDebug testBuildDir"Build" projectFiles
126154
|> Log"Build-Test-Output:"
127155
)
128156

@@ -220,24 +248,20 @@ Target "Release" DoNothing
220248

221249
"Build-Main"
222250
==>"Build-Data"
251+
==>"Build-TypeScript"
252+
==>"Build-Rx"
253+
==>"Build-Test"
223254

224255
"Clean-Data"
225256
==>"Build-Data"
226257
==>"Create-Package-Data"
227258
==>"Release"
228259

229-
"Build-Main"
230-
==>"Build-Rx"
231-
232260
"Clean-Rx"
233261
==>"Build-Rx"
234262
==>"Create-Package-Rx"
235263
==>"Release"
236264

237-
"Build-Main"
238-
==>"Build-Rx"
239-
==>"Build-Test"
240-
241265
"Clean-Test"
242266
==>"Build-Test"
243267
==>"Run-Test"
100 KB
Binary file not shown.
6.57 MB
Binary file not shown.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp