Skip to content

Commit

Permalink
Merge pull request #11 from logiqsystem/fix-v1.1.0-pack
Browse files Browse the repository at this point in the history
Fix v1.1.0 pack
  • Loading branch information
marxjmoura authored Mar 19, 2019
2 parents bd51554 + d3fa4c7 commit ae0f43c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- run: bash devops/tools/dotnet.sh install -v sdk-2.2 -o ubuntu-14.04
- run: bash devops/tools/dotnet.sh install -v sdk-3.0 -o ubuntu-14.04
- run: dotnet pack src/api/api.csproj -o dist
- run: dotnet nuget push src/api/dist/CronQuery.${CIRCLE_TAG/v/}.nupkg -k $NUGET_TOKEN -s https://api.nuget.org/v3/index.json
- run: dotnet nuget push dist/CronQuery.${CIRCLE_TAG/v/}.nupkg -k $NUGET_TOKEN -s https://api.nuget.org/v3/index.json
workflows:
version: 2.1
build_and_deploy:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ bin/
obj/
temp/
publish/
dist/
wwwroot/
Properties/
Settings/
Expand Down Expand Up @@ -86,3 +87,4 @@ _[Ss]cripts
*.nupkg
*.ncrunchsolution
*.dot[Cc]over
global.json
8 changes: 8 additions & 0 deletions .vscode.default/settings.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"debug.toolBarLocation": "docked",
"editor.fontSize": 12,
"editor.minimap.enabled": false,
"editor.rulers": [140],
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"files.exclude": {
"**/.vs": true,
"**/.vscode": true,
"**/.vscode.default": true,
"**/bin": true,
"**/obj": true,
Expand All @@ -17,5 +22,8 @@
},
"[markdown]": {
"files.trimTrailingWhitespace": false
},
"[csharp]": {
"editor.tabSize": 4
}
}
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ public void ConfigureServices(IServiceCollection services)
services.AddTransient<MyThirdJob>();
}

public void Configure(IApplicationBuilder app, IApplicationLifetime appLifetime)
{
app.UseCronQuery()
.Enqueue<MyFirstJob>()
.Enqueue<MySecondJob>()
.Enqueue<MyThirdJob>()
.StartWith(appLifetime);
public void Configure(IApplicationBuilder app, IApplicationLifetime appLifetime)
{
app.UseCronQuery()
.Enqueue<MyFirstJob>()
.Enqueue<MySecondJob>()
.Enqueue<MyThirdJob>()
.StartWith(appLifetime);
}
```

Expand Down Expand Up @@ -109,7 +109,7 @@ Schedule your jobs using [cron expressions](CRON.md) of six fields to a specific
| `CronQuery.TimeZone` | System time zone ID or a custom UTC offset, e.g. `UTC-03:00`, `UTC+01:00`. |
| `CronQuery.Jobs[].Name` | Job class name. |
| `CronQuery.Jobs[].Running` | Turn on (`true`) or turn off (`false`) the job. |
| `CronQuery.Jobs[].Cron` | CRON expression that triggers the job. |
| `CronQuery.Jobs[].Cron` | Cron expression that triggers the job. |

## Contact us

Expand Down

0 comments on commit ae0f43c

Please sign in to comment.