1 of 2

Rust, 152 bytes

|n| {for i in 0..n {println!("");if i % 2 == 1 {print!("<");for _ in 1..i {print!("-");}} else {for _ in 1..i {print!("-");}print!(">");}}println!("");}