Conf updates

This commit is contained in:
Piotr Siuszko 2023-12-23 23:14:09 +01:00
parent 8a0552c4e7
commit a31eb7a3cc
5 changed files with 92 additions and 3 deletions

44
.github/workflows/rust.yml vendored Normal file
View File

@ -0,0 +1,44 @@
name: build
on:
workflow_dispatch:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "[Ubuntu] install dependencies"
run: sudo apt update && sudo apt install libgtk-3-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
# Changelog
## [0.1.0]
Initial version.

View File

@ -2,8 +2,22 @@
name = "lwa_unity_unpack"
version = "0.1.0"
edition = "2021"
repository = "https://github.com/Leinnan/lwa_unity_unpack"
homepage = "https://github.com/Leinnan/lwa_unity_unpack"
readme = "README.md"
license = "MIT"
keywords = ["cli", "unity", "gamedev", "game-development"]
categories = ["command-line-utilities", "development-tools"]
description = "Simple CLI tool for unpacking the unitypackages."
exclude = ["/.github"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 'z'
panic = 'abort'
lto = true
[profile.dev.package."*"]
opt-level = 2
[dependencies]
clap = { version = "4.4", features = ["derive"] }

21
LICENCE.md Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 MevLyshkin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,6 +1,11 @@
# lwa_unity_unpack
# lwa_unity_unpack [![Build Status](https://github.com/Leinnan/lwa_unity_unpack/workflows/CI/badge.svg)](https://github.com/Leinnan/lwa_unity_unpack/actions?workflow=CI)
[![license](https://img.shields.io/crates/l/lwa_unity_unpack)](https://github.com/Leinnan/lwa_unity_unpack#license)
[![crates.io](https://img.shields.io/crates/v/lwa_unity_unpack.svg)](https://crates.io/crates/lwa_unity_unpack)
[![crates.io](https://img.shields.io/crates/d/lwa_unity_unpack.svg)](https://crates.io/crates/lwa_unity_unpack)
Simple CLI tool for unpacking the unitypackages. Also allows auto convert of the FBX files to GLTF during unpacking.
Simple CLI tool for unpacking the unitypackages.
Also allows auto convert of the FBX files to GLTF during unpacking. For that download the tool from [here](https://github.com/godotengine/FBX2glTF) and pass the path to executable file as `--fbx-to-gltf` argument value.
```bash
Program for unpacking unitypackages files