Skip to content

Commit f78d27e

Browse files
committed
1. Initialization.
1 parent 81a9c63 commit f78d27e

File tree

4 files changed

+37
-4
lines changed

4 files changed

+37
-4
lines changed

.github/workflows/CI.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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+
cargo-test:
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest]
17+
runs-on: ${{ matrix.os }}
18+
19+
steps:
20+
- uses: actions/cache@v3
21+
with:
22+
path: |
23+
~/.cargo/bin/
24+
~/.cargo/registry/index/
25+
~/.cargo/registry/cache/
26+
~/.cargo/git/db/
27+
target/
28+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
29+
30+
- uses: actions/checkout@v3
31+
- name: Run cargo deftest
32+
run: cargo test --verbose
33+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Macro for including trees, strings, arrays from files.
1010
use include_tt::include_tt;
1111
use std::fmt::Write;
1212

13-
// Substitution of a macro component from a file.
13+
// Embedding compiler trees from a file in an arbitrary place of other macros.
1414
{
1515
let a = 10;
1616
let b = 20;

examples/full.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ fn main() {
7373
assert_eq!(array, b"a, b");
7474
}
7575

76-
{ // Substitution of a macro component from a file.
76+
{ // Embedding compiler trees from a file in an arbitrary place of other macros.
7777
let a = 10;
7878
let b = 20;
7979

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
use include_tt::include_tt;
4141
use std::fmt::Write;
4242
43-
{ // Substitution of a macro component from a file.
43+
{ // Embedding compiler trees from a file in an arbitrary place of other macros.
4444
let a = 10;
4545
let b = 20;
4646
let mut end_str = String::new();
@@ -187,7 +187,7 @@ fn search_include_and_replacegroup(
187187
/// use include_tt::include_tt;
188188
/// use std::fmt::Write;
189189
///
190-
/// { // Substitution of a macro component from a file.
190+
/// { // Embedding compiler trees from a file in an arbitrary place of other macros.
191191
/// let a = 10;
192192
/// let b = 20;
193193
///

0 commit comments

Comments
 (0)