Skip to content

Commit ae0416d

Browse files
authored
Merge pull request #13 from wrale/jmdots/dev
Add GitHub Actions, split LICENSE into LICENSE and NOTICE, update doc…
2 parents a92bd11 + 7857d31 commit ae0416d

File tree

7 files changed

+97
-7
lines changed

7 files changed

+97
-7
lines changed

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: macos-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Install Rust
19+
uses: dtolnay/rust-toolchain@stable
20+
with:
21+
components: clippy, rustfmt
22+
23+
- name: Setup Git for tests
24+
run: |
25+
git config --global user.name "GitHub Actions"
26+
git config --global user.email "actions@github.com"
27+
28+
- name: Format check
29+
run: make format
30+
31+
- name: Lint
32+
run: make lint
33+
34+
- name: Check
35+
run: make check
36+
37+
- name: Build
38+
run: make build
39+
40+
- name: Test
41+
run: make test

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
publish:
9+
runs-on: macos-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Install Rust
14+
uses: dtolnay/rust-toolchain@stable
15+
16+
- name: Setup Git for tests
17+
run: |
18+
git config --global user.name "GitHub Actions"
19+
git config --global user.email "actions@github.com"
20+
21+
- name: Run tests
22+
run: make test
23+
24+
- name: Publish to crates.io
25+
run: cargo publish
26+
env:
27+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wrale-acdm"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
description = "Wrale Agnostic Content Dependency Manager"
66
authors = ["Wrale LTD <contact@wrale.com>"]

LICENSE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
MIT License
2-
wrale-acdm - Wrale Agnostic Content Dependency Manager
3-
Copyright (c) 2025 Wrale LTD <contact@wrale.com>
42

53
Permission is hereby granted, free of charge, to any person obtaining a copy
64
of this software and associated documentation files (the "Software"), to deal

NOTICE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
wrale-acdm - Wrale Agnostic Content Dependency Manager
2+
Copyright (c) 2025 Wrale LTD <contact@wrale.com>

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ Wrale Agnostic Content Dependency Manager
2121

2222
## Installation
2323

24+
> ⚠️ **Platform Support**: Currently, `wrale-acdm` is only officially supported on macOS (specifically tested on M1 MacBook Air). While it may work on other platforms when built from source, these are not officially supported yet. Contributions for other platforms are welcome!
25+
2426
```bash
25-
# Not yet available on crates.io
26-
cargo install --git https://github.com/wrale/wrale-acdm.git
27+
# Install from crates.io
28+
cargo install wrale-acdm
2729
```
2830

29-
or
31+
or install from source:
3032

3133
```bash
3234
git clone https://github.com/wrale/wrale-acdm.git
@@ -109,6 +111,7 @@ target = "vendor/example"
109111
Requirements:
110112
- Rust 1.70+
111113
- Git 2.25+ (for sparse checkout features)
114+
- macOS for primary development and testing
112115

113116
Building from source:
114117

@@ -140,7 +143,7 @@ make help
140143

141144
## License
142145

143-
This project is licensed under the MIT License - see the LICENSE file for details.
146+
This project is licensed under the MIT License - see the LICENSE file for details. Copyright information is available in the NOTICE file.
144147

145148
---
146149

docs/user-guide.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66

77
- Rust 1.70 or higher
88
- Git 2.25 or higher (for sparse checkout features)
9+
- macOS operating system (currently only officially supported on macOS, specifically M1 MacBook Air)
10+
11+
### Installation from crates.io
12+
13+
Once published, you can install directly from crates.io:
14+
15+
```bash
16+
cargo install wrale-acdm
17+
```
918

1019
### Installation from Source
1120

@@ -31,6 +40,12 @@
3140
acdm --version
3241
```
3342

43+
## Platform Support
44+
45+
Currently, `wrale-acdm` is only officially supported on macOS. While it may work on other platforms when built from source, these are not officially supported yet. The tool has been primarily tested on M1 MacBook Air.
46+
47+
If you're interested in helping maintain support for other platforms, contributions are welcome!
48+
3449
## Usage Guide
3550

3651
### Global Flags
@@ -220,6 +235,10 @@ Note: Unlike previous versions, `acdm` will not automatically stage or commit an
220235
- Verify that the source repository is accessible
221236
- Run with verbose logging to see detailed error information
222237

238+
6. **Platform-Specific Issues**:
239+
- If you're using a platform other than macOS, be aware that this is experimental
240+
- Report any platform-specific issues on GitHub
241+
223242
---
224243

225244
Copyright (c) 2025 Wrale LTD <contact@wrale.com>

0 commit comments

Comments
 (0)