Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move main.go to subfolder under cmd #280

Merged
merged 3 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
builds:
- env:
- CGO_ENABLED=0
main: cmd/main.go
binary: bin/oslo
main: ./cmd/oslo
binary: ./bin/oslo
goos:
- linux
- darwin
Expand All @@ -11,11 +11,13 @@ builds:
- -X main.version={{.Version}}

archives:
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
{{- if .Mips }}_{{ .Mips }}{{ end -}}

brews:
- name: oslo
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ We encourage and welcome any and all feedback from the community.
## Things to know

The goal of this project is to be compatable with the [OpenSLO Spec](https://github.com/OpenSLO/OpenSLO)
so any changes need to be compliant with that spec
so any changes need to be compliant with that spec.

## Slack

Checkout _FOLLOW US_ section at <https://openslo.com/> to join our slack channel
Checkout _FOLLOW US_ section at <https://openslo.com/> to join our slack channel.

## Making a pull request

Please make a fork of the repo, and submit a PR from there. More information can
be found [here](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)
be found [here](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request).

## Merge Request title

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ information also check the website: [openslo.com](https://openslo.com/).

## Installation

### Go install

```sh
go install github.com/OpenSLO/oslo/cmd/oslo@latest
```

### From source

1. Checkout this repository
Expand Down
File renamed without changes.
Loading