Skip to content

Commit 428aad9

Browse files
committed
First draft
1 parent fc7e205 commit 428aad9

9 files changed

+140
-0
lines changed

.NET/script/inst_minver.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
dotnet tool install --global minver-cli --version 2.0.0

.NET/script/inst_netcoresdk.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
wget -q https://packages.microsoft.com/config/ubuntu/16.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
4+
sudo dpkg -i packages-microsoft-prod.deb
5+
6+
sudo apt-get update
7+
sudo apt-get install apt-transport-https
8+
sudo apt-get update
9+
sudo apt-get install dotnet-sdk-3.1

.NET/src/before_script.sh

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
# make scripts executable
4+
chmod +x ./travis/*
5+
6+
#######################################################
7+
# ENVIRONMENT VARIABLES
8+
#######################################################
9+
export PATH=$PATH:/home/travis/.dotnet/tools

.NET/src/deploy.sh

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
nuget pack ${PROJECT_PATH}${PROJECT_FILENAME}.csproj -Version $VERSION -Verbosity detailed -Symbols -SymbolPackageFormat snupkg -Prop Configuration=$DEPLOY_BUILD
4+
nuget push ./$PROJECT_FILENAME.*.nupkg -Verbosity detailed -ApiKey $NUGET_API_KEY -source https://www.nuget.org

.NET/src/install.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
nuget restore $SOLUTION_NAME.sln
3+
4+
../script/inst_netCoresdk.sh
5+
../script/inst_minver.sh

.NET/src/script.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
export VERSION=$(minver)
3+
echo "Version as determined by minver: $VERSION"
4+
5+
msbuild /p:Configuration=Release /p:VersionNumber=$VERSION $SOLUTION_NAME.sln

CODE_OF_CONDUCT.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, sex characteristics, gender identity and expression,
9+
level of experience, education, socio-economic status, nationality, personal
10+
appearance, race, religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at [email protected]. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+
75+
For answers to common questions about this code of conduct, see
76+
https://www.contributor-covenant.org/faq

CONTRIBUTING.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- You're more than welcome to just make a pull-request.
2+
- If you'd like to be perfectly polite, open an issue beforehand and let's discuss things first. (you really don't have to, but you're welcome to)
3+
4+
Thx.

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
1+
[![license](https://img.shields.io/github/license/unterrainerinformatik/MyStromRestApiCSharp.svg?maxAge=2592000)](http://unlicense.org) [![Twitter Follow](https://img.shields.io/twitter/follow/throbax.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/throbax)
2+
3+
# General
4+
5+
You may copy, use or rewrite every single file within this project to your hearts content.
6+
In order to get help with basic GIT commands you may try [the GIT cheat-sheet][coding] on our [homepage][homepage].
7+
8+
If you want to contribute to our repository (push, open pull requests), please do so.
9+
10+
11+
112
# Travis-Scripts
13+
214
Scripts and manuals to help configure Travis for various builds and build targets.
15+
16+
> **If you like this repo, please don't forget to star it.**
17+
> **Thank you.**
18+
19+
20+
21+
# References
22+
23+
24+
25+
[homepage]: http://www.unterrainer.info
26+
[coding]: http://www.unterrainer.info/Home/Coding
27+
[github]: https://github.com/UnterrainerInformatik/Travis-Scripts

0 commit comments

Comments
 (0)