-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish new tests setup architecture to planned future of using integr…
…ations tests too
- Loading branch information
1 parent
415f339
commit 826cb34
Showing
8 changed files
with
47 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module Build.Tasks.Cli | ||
|
||
open SimpleExec | ||
open BlackFox.CommandLine | ||
|
||
let handle (args: string list) = | ||
let isWatch = args |> List.contains "--watch" | ||
|
||
Command.Run( | ||
"dotnet", | ||
CmdLine.empty | ||
|> CmdLine.appendRaw "fable" | ||
|> CmdLine.appendRaw "src/Glutinum.Converter.CLI" | ||
|> CmdLine.appendPrefix "--outDir" "dist" | ||
|> CmdLine.appendRaw "--sourceMaps" | ||
|> CmdLine.appendIf isWatch "--watch" | ||
|> CmdLine.toString | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { defineConfig } from 'vite' | ||
|
||
export default defineConfig({ | ||
// Vitest don't support yet clearScreen option via CLI | ||
// but it does respect it when it's set in the vite config | ||
// https://github.com/vitest-dev/vitest/issues/5185 | ||
clearScreen: false, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default [ | ||
'tests/specs/generated/' | ||
] |