Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console app #105

Merged
merged 18 commits into from
Sep 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,21 @@ language: csharp
sudo: required
dist: trusty

dotnet: 2.1.301
dotnet: 2.1.401
mono:
- 5.12.0
- 5.14.0
- latest # => "stable release"
- alpha
- beta
- weekly # => "latest commits"
os:
- linux

addons:
apt:
packages:
- dotnet-sharedframework-microsoft.netcore.app-1.1.2
# addons:
# apt:
# packages:
# - dotnet-sharedframework-microsoft.netcore.app-1.1.2

script:
- ./build.sh
Expand Down
58 changes: 46 additions & 12 deletions Content/.template.config/template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "Jimmy Byrd",
"classifications": ["Scaffold"],
"classifications": [
"Scaffold"
],
"name": "MiniScaffold",
"tags": {
"language": "F#"
Expand All @@ -14,18 +17,49 @@
"githubUsername": {
"type": "parameter",
"replaces": "MyGithubUsername"
},
"outputType": {
"type": "parameter",
"dataType": "choice",
"defaultValue": "library",
"choices": [
{
"choice": "library",
"description": "Creates a template for library projects"
},
{
"choice": "console",
"description": "Creates a template for console projects"
}
]
}
},
"postActions": [{
"condition": "(OS != \"Windows_NT\")",
"description": "Make scripts executable",
"manualInstructions": [{
"text": "Run 'chmod +x *.sh'"
}],
"actionId": "cb9a6cf3-4f5c-4860-b9d2-03a574959774",
"args": {
"+x": "*.sh"
"sources": [
{
"source": "./Library/",
"target": "./",
"condition": "(outputType == \"library\")",
},
"continueOnError": true
}]
{
"source": "./Console/",
"target": "./",
"condition": "(outputType == \"console\")",
}
],
"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
}
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions Content/.travis.yml → Content/Console/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ language: csharp
sudo: required
dist: trusty

dotnet: 2.1.301
dotnet: 2.1.401
mono:
- 5.12.0
- 5.14.0
- latest # => "stable release"
- alpha
- beta
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions Content/appveyor.yml → Content/Console/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ version: 0.0.1.{build}
artifacts:
- path: bin
name: bin
- path: dist
name: dist
File renamed without changes.
Loading