From 7a9fd0f88db7d762b5c64577ca0f8d42e3e003c7 Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Sat, 7 Nov 2015 21:34:56 +0000 Subject: [PATCH] necsave: Refresh rule pulls changes from git and rebuilds everything. --- rules/necsave/default.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rules/necsave/default.bash b/rules/necsave/default.bash index dd5728a..27bb7c3 100644 --- a/rules/necsave/default.bash +++ b/rules/necsave/default.bash @@ -39,6 +39,17 @@ configure() ../source } +refresh() +{ + cd ../default + rm .build .host_install .target_install .postconfigure + cd - + cd source && git pull && cd - && + for r in duneplatform integration missionplanner perception vehicleplanner initialization; do + cd "source/src/Modules/$r" && git pull && cd - + done +} + build() { $cmd_make -C build