Skip to content

Commit

Permalink
feat(whole): first runnable version
Browse files Browse the repository at this point in the history
The program can use rudimentary line fitting as initialization step for future algorithms. It can be used via a CLI and plot its results.
  • Loading branch information
tsteffek authored Feb 12, 2020
2 parents c9cba17 + e0879ba commit 7f77e7b
Show file tree
Hide file tree
Showing 138 changed files with 3,968 additions and 566 deletions.
29 changes: 15 additions & 14 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
```
```{html}
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
```

## Type
Must be one of the following:

- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation
- feat: A new feature
- fix: A bug fix
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
- refactor: A code change that neither fixes a bug nor adds a feature
- perf: A code change that improves performance
- test: Adding missing or correcting existing tests
- chore: Changes to the build process or auxiliary tools and libraries such as documentation generation

## Scope
The scope could be anything specifying place of the commit change. For example $location, $browser, $compile, $rootScope, ngHref, ngClick, ngView, etc...

Expand All @@ -25,9 +26,9 @@ You can use * when the change affects more than a single scope.
## Subject
The subject contains succinct description of the change:

- use the imperative, present tense: "change" not "changed" nor "changes"
- don't capitalize first letter
- no dot (.) at the end
- use the imperative, present tense: "change" not "changed" nor "changes"
- don't capitalize first letter
- no dot (.) at the end

## Body
Just as in the subject, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior.
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build&Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest #, macos-latest, windows-latest
]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: 8
- name: build
uses: eskatos/gradle-command-action@v1
with:
arguments: build
- name: test
uses: eskatos/gradle-command-action@v1
with:
arguments: test
- uses: eskatos/gradle-command-action@v1
with:
arguments: jacocoTestReport
- name: upload codecov report
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: download codacy-coverage-reporter
run: curl -Ls -o codacy-coverage-reporter "$(curl -Ls https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r '.assets | map({name, browser_download_url} | select(.name | contains("codacy-coverage-reporter-linux"))) | .[0].browser_download_url')"
- name: upload codacy report
run: chmod +x codacy-coverage-reporter && ./codacy-coverage-reporter report -l Kotlin -r build/reports/jacoco/test/jacocoTestReport.xml
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
46 changes: 0 additions & 46 deletions .github/workflows/build_test_release.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release
on:
push:
branches:
- master
- dev
jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Build distribution
uses: eskatos/gradle-command-action@v1
with:
arguments: build
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install semantic-release
run: npm i -g semantic-release@beta @semantic-release/changelog @semantic-release/exec
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
2 changes: 2 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/floor-plan-generator.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/kotlinc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"branches": [
"master",
{
"name": "dev",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
["@semantic-release/exec", {
"prepareCmd": "./gradlew -Pversion=${nextRelease.version} distZip"
}],
["@semantic-release/github", {
"assets": [
{"path": "build/distributions/*.zip", "label": "floor-plan-generator.zip (contains Windows and Unix start scripts)"},
{"path": "build/distributions/*.tar", "label": "floor-plan-generator.tar (contains Windows and Unix start scripts)"}
]
}]
]
}
Loading

0 comments on commit 7f77e7b

Please sign in to comment.