Skip to content

bryanhunter/Fix

Repository files navigation

Issue Stats Issue Stats

#Fix (Mix for F#) Fix is a command line tool that provides tasks for creating F# projects with no dependence on other languages.

When called without any arguments Fix automatically goes into an interactive mode.

Available Commands

 new [projectName]   - Creates a new project with the given name
 file add [fileName] - Adds a file to the current folder and project.
                       If more than one project is in the current
                       directory you will be prompted which to use.
 refresh             - Refreshes the template cache
 help                - Displays this help
 exit                - Exit interactive mode

Creating A project

fix new [projectName]

On the first run Fix will download the templates found in the Generator F# Repository and then allow you to choose which template you'd like to base your new project from.

C:\Dev>c:\tools\fix\fix.exe
>
Fix (Mix for F#)
Available Commands:
 new [projectName] - Creates a new project with the given name
 refresh           - Refreshes the template cache
 help              - Displays this help

> new MySuaveProject
Choose a template:
 - aspwebapi2
 - classlib
 - console
 - fslabbasic
 - fslabjournal
 - sln
 - suave
 - websharperserverclient
 - websharperspa
 - windows

> suave
Fixing template suave
Creating C:\Dev\MySuaveProject
Changing filenames from ApplicationName.* to MySuaveProject.*
Changing namespace to MySuaveProject
Changing guid to bb3d79ee-318d-435f-8807-54b2585b057c
Done!

Adding a file to a project

fix file add [fileName]

Adds a file to the current folder and project. If more than one project file exists in the current directory you will be prompted which project you wish to add the file to.

Installing

This is still in very early stages so you'll need to clone the repo, build the source, and then move the files in your bin folder to a location of your choosing.

Maintainer(s)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published