Skip to content

Commit 232444b

Browse files
committed
initial import of "hat"
1 parent 8a1602d commit 232444b

21 files changed

+5638
-0
lines changed

.github/workflows/hat.yaml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Hono Admin Tool
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+
14+
build:
15+
16+
runs-on: ${{ matrix.os }}
17+
18+
strategy:
19+
matrix:
20+
os: [ubuntu-latest, windows-latest, macos-latest]
21+
22+
steps:
23+
24+
- uses: actions/checkout@v2
25+
26+
- uses: actions/cache@v2
27+
with:
28+
path: |
29+
~/.cargo/registry
30+
~/.cargo/git
31+
target
32+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
33+
34+
- name: Build
35+
run: cargo build --release --verbose
36+
37+
- name: Run tests
38+
run: cargo test --release --verbose
39+
40+
- uses: actions/upload-artifact@v2
41+
with:
42+
name: hat-${{ matrix.os }}
43+
path: |
44+
target/release/hat
45+
target/release/hat.exe

hat/.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Rust
2+
3+
target/
4+
5+
# Eclipse
6+
7+
.project
8+
.settings/
9+
10+
# IntelliJ
11+
12+
*.iml
13+
.idea/*
14+

0 commit comments

Comments
 (0)