Add CI and make name compliant
This commit is contained in:
parent
5d04f23458
commit
9fede050c3
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3,7 +3,7 @@
|
|||||||
version = 4
|
version = 4
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ACL_Editor"
|
name = "acl-editor"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ACL_Editor"
|
name = "acl-editor"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
16
Earthfile
Normal file
16
Earthfile
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
VERSION 0.8
|
||||||
|
IMPORT github.com/earthly/lib/rust:3.0.1 AS rust
|
||||||
|
|
||||||
|
FROM rust:slim-bookworm
|
||||||
|
WORKDIR /build
|
||||||
|
RUN apt-get update && apt-get install -y libacl1-dev && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
# build creates the binary target/release/example-rust
|
||||||
|
build:
|
||||||
|
# CARGO function adds caching to cargo runs.
|
||||||
|
# See https://github.com/earthly/lib/tree/main/rust
|
||||||
|
DO rust+INIT --keep_fingerprints=true
|
||||||
|
COPY --keep-ts --dir src Cargo.lock Cargo.toml .
|
||||||
|
DO rust+CARGO --args="build --release" --output="release/[^/\.]+"
|
||||||
|
SAVE ARTIFACT target/release/acl-editor AS LOCAL target/release/acl-editor
|
Loading…
x
Reference in New Issue
Block a user