Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Update build scripts (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
henkmollema authored Aug 23, 2020
1 parent 121ee50 commit 8bad456
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 39 deletions.
15 changes: 4 additions & 11 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
version: '{build}'
pull_requests:
do_not_increment_build_number: true
image: Visual Studio 2017
init:
- git config --global core.autocrlf true
image: Visual Studio 2019
build_script:
- ps: .\build.ps1
clone_depth: 1
- cmd: dotnet test
test: off
deploy: off
environment:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
CI: true
branches:
only:
- master
DOTNET_CLI_TELEMETRY_OPTOUT: true
CI: true
18 changes: 5 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
language: csharp
mono: none
dotnet: 2.1.403
dist: trusty
dotnet: 3.1
dist: xenial
env:
global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: true
os:
- linux
- osx
branches:
only:
- master
before_script:
- chmod +x ./build.sh
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true
- DOTNET_CLI_TELEMETRY_OPTOUT=true
script:
- ./build.sh
- dotnet test
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Henk Mollema
Copyright (c) 2014 Henk Mollema

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dapper.FluentMap
Provides a simple API to fluently map POCO properties to database columns when using Dapper.
# Dapper.FluentMap
Provides a simple API to fluently map POCO properties to database columns when using Dapper.

<hr>

Expand Down Expand Up @@ -29,7 +29,7 @@ public class ProductMap : EntityMap<Product>
// Map property 'Name' to column 'strName'.
Map(p => p.Name)
.ToColumn("strName");

// Ignore the 'LastModified' property when mapping.
Map(p => p.LastModified)
.Ignore();
Expand Down Expand Up @@ -124,7 +124,7 @@ public class ProductMap : DommelEntityMap<TEntity>
public ProductMap()
{
ToTable("tblProduct");

// ...
}
}
Expand Down
2 changes: 0 additions & 2 deletions build.cmd

This file was deleted.

2 changes: 0 additions & 2 deletions build.ps1

This file was deleted.

4 changes: 0 additions & 4 deletions build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion src/Dapper.FluentMap.Dommel/Dapper.FluentMap.Dommel.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Dapper.FluentMap extension for Dommel support.</Description>
<Copyright>Copyright © Henk Mollema 2017</Copyright>
<Copyright>Copyright © Henk Mollema 2014</Copyright>
<VersionPrefix>2.0.0</VersionPrefix>
<Authors>Henk Mollema</Authors>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
Expand Down
2 changes: 1 addition & 1 deletion src/Dapper.FluentMap/Dapper.FluentMap.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Description>Simple API to fluently map POCO properties to database columns when using Dapper.</Description>
<Copyright>Copyright © Henk Mollema 2017</Copyright>
<Copyright>Copyright © Henk Mollema 2014</Copyright>
<VersionPrefix>2.0.0</VersionPrefix>
<Authors>Henk Mollema</Authors>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
Expand Down

0 comments on commit 8bad456

Please sign in to comment.