X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/3192415c398766f2dba869c6a3c6dad69f300cd7..dd871febcbab6e2bdf581b38f2c99143b1d10de1:/Makefile diff --git a/Makefile b/Makefile index 25a2fe0..c6c80eb 100644 --- a/Makefile +++ b/Makefile @@ -22,14 +22,13 @@ workspace: $(WORKSPACEFILES) workspace/src/%.rs: src/%.rs Makefile dup-unimpl.sed @mkdir -p .tmp/docs @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 # Crates -crates: +crates: $(WORKSPACEFILES) @cargo build @cd solutions && cargo build + @cd workspace && cargo build