Skip to content

Commit c3ec597

Browse files
committed
Initial commit
0 parents  commit c3ec597

File tree

15 files changed

+608
-0
lines changed

15 files changed

+608
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: post-release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
create-release:
10+
permissions:
11+
contents: write
12+
name: create-release
13+
runs-on: ubuntu-latest
14+
outputs:
15+
upload_url: ${{ steps.release.outputs.upload_url }}
16+
release_version: ${{ steps.release.outputs.release_version }}
17+
steps:
18+
- name: Create release
19+
id: release
20+
uses: mrvillage/cargo-release-action/release@master
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
build-release:
24+
permissions:
25+
contents: write
26+
name: build-release
27+
needs: create-release
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
build: [linux, macos, win-msvc]
32+
include:
33+
- build: linux
34+
os: ubuntu-20.04
35+
rust: stable
36+
target: x86_64-unknown-linux-gnu
37+
- build: macos
38+
os: macos-latest
39+
rust: stable
40+
target: x86_64-apple-darwin
41+
- build: win-msvc
42+
os: windows-2019
43+
rust: stable
44+
target: x86_64-pc-windows-msvc
45+
runs-on: ${{ matrix.os }}
46+
steps:
47+
- name: Build release
48+
uses: mrvillage/cargo-release-action/build@master
49+
with:
50+
bin_name: "col-combiner"
51+
release_version: ${{ needs.create-release.outputs.release_version }}
52+
upload_url: ${{ needs.create-release.outputs.upload_url }}
53+
target: ${{ matrix.target }}
54+
os: ${{ matrix.os }}
55+
rust: ${{ matrix.rust }}
56+
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/rust.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
- name: Setup Rust
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: nightly
23+
override: true
24+
components: rustfmt, clippy
25+
- name: Build
26+
run: cargo build --verbose
27+
- name: Clippy
28+
run: cargo clippy --all-targets --all-features -- -D warnings
29+
- name: Test
30+
run: cargo test --verbose
31+
- name: Format
32+
run: cargo fmt --all -- --check

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target/

.mrvillage.meta

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Required parameters
2+
- crate-name
3+
4+
Required template files
5+
- Cargo.toml
6+
- clippy.toml
7+
- rustfmt.toml
8+
- rust.gitignore
9+
- default-mrvillage.toml

.mrvillage.toml

Whitespace-only changes.

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Changelog
2+
3+
<!-- next-header -->
4+
5+
## [Unreleased] - ReleaseDate
6+
7+
<!-- next-url -->
8+
9+
[unreleased]: https://github.com/mrvillage/col-combiner/compare/v0.0.0...HEAD

Cargo.lock

Lines changed: 244 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[package]
2+
name = "col-combiner"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
clap = { version = "4.5.40", features = ["derive"] }

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025-present mrvillage
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# @@-cli.clippy-@@

0 commit comments

Comments
 (0)