X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/3192415c398766f2dba869c6a3c6dad69f300cd7..29ed03832973473f6e38d6d8af2db0329209bab4:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 25a2fe0..2e7758b 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ workspace/src/%.rs: src/%.rs Makefile dup-unimpl.sed @echo "$< -> $@" @echo "// ***Remember to enable/add this part in \`main.rs\`!***" > $@ @echo >> $@ - @sed '/^\s*\/\/@/d;s|\(\s*\)[^\s].*/\*@\*/|\1unimplemented!()|' $< | sed -f dup-unimpl.sed >> $@ + @sed '/^\s*\/\/@/d;s|\(\s*\)\S.*/\*@\*/|\1unimplemented!()|' $< | sed -f dup-unimpl.sed >> $@ workspace/src/main.rs: # Don't touch this file @@ -33,3 +33,4 @@ workspace/src/main.rs: crates: @cargo build @cd solutions && cargo build + @cd workspace && cargo build