1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-04-20 08:03:50 +02:00

Cleaned up some extraneous whitespace characters

This commit is contained in:
Joseph T Lyons 2021-03-02 23:06:09 -05:00
parent 2f1bf6f1af
commit fee737380b
4 changed files with 2 additions and 5 deletions

1
.gitattributes vendored
View File

@ -14,4 +14,3 @@
# Text files to always have LF (unix) line endings on checkout.
*.sh text eol=lf
*.zig text eol=lf

View File

@ -163,4 +163,3 @@ Planned exercises:
The initial topics for these exercises were unabashedly cribbed from
[ziglearn.org](https://ziglearn.org/). I've since moved things around
in an order that I think best lets each topic build upon each other.

View File

@ -345,7 +345,7 @@ pub fn build(b: *Builder) void {
\\ _ _ _
\\ ___(_) __ _| (_)_ __ __ _ ___
\\ |_ | |/ _' | | | '_ \ / _' / __|
\\ / /| | (_| | | | | | | (_| \__ \
\\ / /| | (_| | | | | | | (_| \__ \
\\ /___|_|\__, |_|_|_| |_|\__, |___/
\\ |___/ |___/
\\
@ -522,7 +522,7 @@ const ZiglingStep = struct {
zig_args.append(@tagName(builder.color)) catch unreachable;
}
const zig_file = std.fs.path.join(builder.allocator, &[_][]const u8{
const zig_file = std.fs.path.join(builder.allocator, &[_][]const u8{
if (self.use_healed) "patches/healed" else "exercises", self.exercise.main_file }) catch unreachable;
zig_args.append(builder.pathFromRoot(zig_file)) catch unreachable;

View File

@ -32,4 +32,3 @@ $ zig build -Dhealed [step]
Another Bash shell script named `gollum.sh` may also be found. He snatches the
original answers and stows them in his secret answers stash. If you leave him
alone, he'll leave you alone.