Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baronfel/fsharp-powershell-test
https://github.com/baronfel/fsharp-powershell-test
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/baronfel/fsharp-powershell-test
- Owner: baronfel
- Created: 2018-01-07T21:45:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-07T22:38:10.000Z (almost 7 years ago)
- Last Synced: 2024-10-20T08:56:29.209Z (27 days ago)
- Language: PowerShell
- Size: 2.32 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## FSharp-Powershell Add-Type Integration Test
### Init
Run `.paket/paket.exe restore` to download the FSharp.Compiler.CodeDom and FSharp.Core libraries.
The versions are described in `paket.dependencies` and explicit locked versions are in `paket.lock`### Test
Run `fs_codedom.ps1` to demonstrate loading the CodeDom Provider and using it to generate and run code
### Result
```
D:\code\scratch> .\fs_codedom.ps1
4
3
2
1
```## Isolated environment (requires docker)
run `test-env.cmd` to get a completely dependency-free (aside from having powershell core installed) powershell prompt. then run `cd code` to go to the working directory and `./fs_codedom.ps` to run the script. Exit the shell with `exit`