-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This implements the templating hacks in dotnet/templating#1168 (comment) to allow for dashes in names.
- Loading branch information
Jimmy Byrd
committed
May 15, 2018
1 parent
c80966d
commit f985d3a
Showing
14 changed files
with
53 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
{ | ||
"author": "Jimmy Byrd", | ||
"classifications": [ "Scaffold" ], | ||
"name": "MiniScaffold", | ||
"tags": { | ||
"language": "F#" | ||
}, | ||
"identity": "MiniScaffold", | ||
"shortName": "mini-scaffold", | ||
"sourceName": "MyLib", | ||
// This allows using the `-n` option to create a new directory | ||
"preferNameDirectory": true, | ||
"symbols":{ | ||
"githubUsername": { | ||
"type": "parameter", | ||
"replaces":"MyGithubUsername" | ||
} | ||
}, | ||
"postActions": [{ | ||
"condition": "(OS != \"Windows_NT\")", | ||
"description": "Make scripts executable", | ||
"manualInstructions": [ { "text": "Run 'chmod +x *.sh'" } ], | ||
"actionId": "cb9a6cf3-4f5c-4860-b9d2-03a574959774", | ||
"args": { | ||
"+x": "*.sh" | ||
}, | ||
"continueOnError": true | ||
}] | ||
} | ||
"author": "Jimmy Byrd", | ||
"classifications": ["Scaffold"], | ||
"name": "MiniScaffold", | ||
"tags": { | ||
"language": "F#" | ||
}, | ||
"identity": "MiniScaffold", | ||
"shortName": "mini-scaffold", | ||
"sourceName": "MyLib.1", | ||
// This allows using the `-n` option to create a new directory | ||
"preferNameDirectory": true, | ||
"symbols": { | ||
"githubUsername": { | ||
"type": "parameter", | ||
"replaces": "MyGithubUsername" | ||
} | ||
}, | ||
"postActions": [{ | ||
"condition": "(OS != \"Windows_NT\")", | ||
"description": "Make scripts executable", | ||
"manualInstructions": [{ | ||
"text": "Run 'chmod +x *.sh'" | ||
}], | ||
"actionId": "cb9a6cf3-4f5c-4860-b9d2-03a574959774", | ||
"args": { | ||
"+x": "*.sh" | ||
}, | ||
"continueOnError": true | ||
}] | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace MyLib | ||
namespace MyLib._1 | ||
|
||
module Say = | ||
let nothing name = | ||
|
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
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ module Tests | |
|
||
|
||
open Expecto | ||
open MyLib | ||
open MyLib._1 | ||
|
||
[<Tests>] | ||
let tests = | ||
|
File renamed without changes.
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