projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add all the parts in workspace's main.rs
[rust-101.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 40a2a79fd83aec5a494b59be96a7e758aca97cde..c6c80eb1068eb9b0fa7a810db2a6779ef651c44b 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-22,14
+22,13
@@
workspace: $(WORKSPACEFILES)
workspace/src/%.rs: src/%.rs Makefile dup-unimpl.sed
@mkdir -p .tmp/docs
@echo "$< -> $@"
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
workspace/src/main.rs:
# Don't touch this file
# Crates
-crates:
+crates:
$(WORKSPACEFILES)
@cargo build
@cd solutions && cargo build
@cargo build
@cd solutions && cargo build
+ @cd workspace && cargo build