Merge pull request #9463 from penev92/modDependencies

Add support for inter-mod dependencies
This commit is contained in:
Taryn Hill
2015-11-01 15:08:43 -06:00
13 changed files with 152 additions and 7 deletions

View File

@@ -320,7 +320,8 @@ all-dependencies: cli-dependencies windows-dependencies osx-dependencies
version: mods/ra/mod.yaml mods/cnc/mod.yaml mods/d2k/mod.yaml mods/ts/mod.yaml mods/modchooser/mod.yaml mods/all/mod.yaml
@for i in $? ; do \
awk '{sub("Version:.*$$","Version: $(VERSION)"); print $0}' $${i} > $${i}.tmp && \
mv -f $${i}.tmp $${i} ; \
awk '{sub("\tmodchooser:.*$$","\tmodchooser: $(VERSION)"); print $0}' $${i}.tmp > $${i} && \
rm $${i}.tmp ; \
done
docs: utility mods version