Skip to content

Commit c7d1285

Browse files
committed
Initial commit
1 parent e708d2c commit c7d1285

File tree

8 files changed

+725
-0
lines changed

8 files changed

+725
-0
lines changed

.github/workflows/publish.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build assets for projects
2+
3+
on:
4+
push
5+
6+
jobs:
7+
publish-assets:
8+
permissions: write-all
9+
10+
strategy:
11+
matrix:
12+
os: [ubuntu-latest, windows-latest]
13+
binary: [slides-tool]
14+
include:
15+
- os: windows-latest
16+
platform-name: x86_64-pc-windows
17+
executable-extension: ".exe"
18+
- os: ubuntu-latest
19+
platform-name: x86_64-unknown-linux
20+
21+
runs-on: ${{ matrix.os }}
22+
23+
env:
24+
LEVEL: debug
25+
GH_RELEASE: assets
26+
27+
steps:
28+
- uses: actions/checkout@v4
29+
- name: Build binary
30+
working-directory: ${{ matrix.binary }}
31+
run: cargo build
32+
- name: Publish binary
33+
working-directory: ${{ matrix.binary }}
34+
run: gh release upload $GH_RELEASE ./target/$LEVEL/${{ matrix.binary }}${{ matrix.executable-extension }}#${{ matrix.binary }}-${{ matrix.platform-name }}${{ matrix.executable-extension }} --clobber
35+
env:
36+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

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

slides-tool/Cargo.lock

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

slides-tool/Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[package]
2+
name = "slides-tool"
3+
version = "0.1.0"
4+
edition = "2024"
5+
publish = false
6+
7+
[dependencies]
8+
simple-markdown-parser = { git = "https://github.com/kaleidawave/simple-markdown-parser", version = "0.0.7", branch = "improvements" }
9+
10+
[[bin]]
11+
name = "slides"
12+
path = "main.rs"

slides-tool/include/icon.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)