Skip to content

Commit 653f32b

Browse files
authored
[Readme] Cleanup
1 parent 259f8e7 commit 653f32b

File tree

1 file changed

+2
-97
lines changed

1 file changed

+2
-97
lines changed

README.md

Lines changed: 2 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ImageProcessing
22

3-
[Enter useful description for ImageProcessing]
3+
Simple image processing on GPGPU using [Brahma.FSharp](https://github.com/YaccConstructor/Brahma.FSharp).
44

55
---
66

@@ -33,18 +33,6 @@ or
3333
- [VSCode Dev Container](https://code.visualstudio.com/docs/remote/containers)
3434

3535

36-
---
37-
38-
### Environment Variables
39-
40-
- `CONFIGURATION` will set the [configuration](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build?tabs=netcore2x#options) of the dotnet commands. If not set, it will default to Release.
41-
- `CONFIGURATION=Debug ./build.sh` will result in `-c` additions to commands such as in `dotnet build -c Debug`
42-
- `GITHUB_TOKEN` will be used to upload release notes and NuGet packages to GitHub.
43-
- Be sure to set this before releasing
44-
- `DISABLE_COVERAGE` Will disable running code coverage metrics. AltCover can have [severe performance degradation](https://github.com/SteveGilham/altcover/issues/57) so it's worth disabling when looking to do a quicker feedback loop.
45-
- `DISABLE_COVERAGE=1 ./build.sh`
46-
47-
4836
---
4937

5038
### Building
@@ -59,87 +47,4 @@ $ ./build.sh <optional buildtarget>// on unix
5947

6048
### Build Targets
6149

62-
63-
- `Clean` - Cleans artifact and temp directories.
64-
- `DotnetRestore` - Runs [dotnet restore](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore?tabs=netcore2x) on the [solution file](https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019).
65-
- [`DotnetBuild`](#Building) - Runs [dotnet build](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-build?tabs=netcore2x) on the [solution file](https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019).
66-
- `DotnetTest` - Runs [dotnet test](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-test?tabs=netcore21) on the [solution file](https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019.).
67-
- `GenerateCoverageReport` - Code coverage is run during `DotnetTest` and this generates a report via [ReportGenerator](https://github.com/danielpalme/ReportGenerator).
68-
- `WatchApp` - Runs [dotnet watch](https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch?view=aspnetcore-3.0) on the application. Useful for rapid feedback loops.
69-
- `WatchTests` - Runs [dotnet watch](https://docs.microsoft.com/en-us/aspnet/core/tutorials/dotnet-watch?view=aspnetcore-3.0) with the test projects. Useful for rapid feedback loops.
70-
- `GenerateAssemblyInfo` - Generates [AssemblyInfo](https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualbasic.applicationservices.assemblyinfo?view=netframework-4.8) for libraries.
71-
- `CreatePackages` - Runs the packaging task from [dotnet-packaging](https://github.com/qmfrederik/dotnet-packaging). This creates applications for `win-x64`, `osx-x64` and `linux-x64` - [Runtime Identifiers](https://docs.microsoft.com/en-us/dotnet/core/rid-catalog).
72-
- Bundles the `win-x64` application in a .zip file.
73-
- Bundles the `osx-x64` application in a .tar.gz file.
74-
- Bundles the `linux-x64` application in a .tar.gz file.
75-
- `GitRelease` - Creates a commit message with the [Release Notes](https://fake.build/apidocs/v5/fake-core-releasenotes.html) and a git tag via the version in the `Release Notes`.
76-
- `GitHubRelease` - Publishes a [GitHub Release](https://help.github.com/en/articles/creating-releases) with the Release Notes and any NuGet packages.
77-
- `FormatCode` - Runs [Fantomas](https://github.com/fsprojects/fantomas) on the solution file.
78-
- [`Release`](#Releasing) - Task that runs all release type tasks such as `GitRelease` and `GitHubRelease`. Make sure to read [Releasing](#Releasing) to setup your environment correctly for releases.
79-
80-
---
81-
82-
83-
### Releasing
84-
85-
- [Start a git repo with a remote](https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/)
86-
87-
```sh
88-
git add .
89-
git commit -m "Scaffold"
90-
git remote add origin https://github.com/user/MyCoolNewApp.git
91-
git push -u origin master
92-
```
93-
94-
- [Create a GitHub OAuth Token](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/)
95-
- You can then set the `GITHUB_TOKEN` to upload release notes and artifacts to github
96-
- Otherwise it will fallback to username/password
97-
98-
- Then update the `CHANGELOG.md` with an "Unreleased" section containing release notes for this version, in [KeepAChangelog](https://keepachangelog.com/en/1.1.0/) format.
99-
100-
101-
NOTE: Its highly recommend to add a link to the Pull Request next to the release note that it affects. The reason for this is when the `RELEASE` target is run, it will add these new notes into the body of git commit. GitHub will notice the links and will update the Pull Request with what commit referenced it saying ["added a commit that referenced this pull request"](https://github.com/TheAngryByrd/MiniScaffold/pull/179#ref-commit-837ad59). Since the build script automates the commit message, it will say "Bump Version to x.y.z". The benefit of this is when users goto a Pull Request, it will be clear when and which version those code changes released. Also when reading the `CHANGELOG`, if someone is curious about how or why those changes were made, they can easily discover the work and discussions.
102-
103-
104-
105-
Here's an example of adding an "Unreleased" section to a `CHANGELOG.md` with a `0.1.0` section already released.
106-
107-
```markdown
108-
## [Unreleased]
109-
110-
### Added
111-
- Does cool stuff!
112-
113-
### Fixed
114-
- Fixes that silly oversight
115-
116-
## [0.1.0] - 2017-03-17
117-
First release
118-
119-
### Added
120-
- This release already has lots of features
121-
122-
[Unreleased]: https://github.com/user/MyCoolNewApp.git/compare/v0.1.0...HEAD
123-
[0.1.0]: https://github.com/user/MyCoolNewApp.git/releases/tag/v0.1.0
124-
```
125-
126-
- You can then use the `Release` target, specifying the version number either in the `RELEASE_VERSION` environment
127-
variable, or else as a parameter after the target name. This will:
128-
- update `CHANGELOG.md`, moving changes from the `Unreleased` section into a new `0.2.0` section
129-
- if there were any prerelease versions of 0.2.0 in the changelog, it will also collect their changes into the final 0.2.0 entry
130-
- make a commit bumping the version: `Bump version to 0.2.0` and adds the new changelog section to the commit's body
131-
- push a git tag
132-
- create a GitHub release for that git tag
133-
134-
135-
macOS/Linux Parameter:
136-
137-
```sh
138-
./build.sh Release 0.2.0
139-
```
140-
141-
macOS/Linux Environment Variable:
142-
143-
```sh
144-
RELEASE_VERSION=0.2.0 ./build.sh Release
145-
```
50+
For details looc at [MiniScaffold](https://github.com/TheAngryByrd/MiniScaffold), we use it in our project.

0 commit comments

Comments
 (0)