Skip to content

Commit

Permalink
initial import of "hat"
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Sep 3, 2020
1 parent 8a1602d commit 232444b
Show file tree
Hide file tree
Showing 21 changed files with 5,638 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/hat.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Hono Admin Tool

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

env:
CARGO_TERM_COLOR: always

jobs:

build:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:

- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Build
run: cargo build --release --verbose

- name: Run tests
run: cargo test --release --verbose

- uses: actions/upload-artifact@v2
with:
name: hat-${{ matrix.os }}
path: |
target/release/hat
target/release/hat.exe
14 changes: 14 additions & 0 deletions hat/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Rust

target/

# Eclipse

.project
.settings/

# IntelliJ

*.iml
.idea/*

Loading

0 comments on commit 232444b

Please sign in to comment.