Skip to content

Commit

Permalink
Rename lib -> transformation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
craigfay committed May 26, 2022
1 parent f638a95 commit 526c596
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions distill/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

mod lib;
mod transformation_syntax;
mod template_syntax;

use lib::{TokenGroups, Intermediate};
use transformation_syntax::{TokenGroups, Intermediate};
use template_syntax::{CSSTemplate, transformations_from_templates};
use serde::{Deserialize};
use std::io::BufReader;
Expand Down Expand Up @@ -80,7 +80,6 @@ fn main() {
};
}


fn write_file_creating_dirs(path: &str, contents: &str) {
let path = Path::new(path);
let parent_dir = path.clone().parent().unwrap();
Expand Down
2 changes: 1 addition & 1 deletion distill/src/template_syntax.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

use regex::Regex;

use super::lib::{
use super::transformation_syntax::{
Transformation,
Transformations,
ManyRulesFromTokenGroup,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion distill/tachyons-flex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ justify-[$alignments.key]:
content-[$alignments.key]:
align-content: $alignments.value

# Ordering
# Order
$orderings:
1: 1
2: 2
Expand Down

0 comments on commit 526c596

Please sign in to comment.