From 4ab71758965d616246daf34641cef81a94ee5590 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 31 Oct 2016 13:59:39 -0600 Subject: [PATCH] Add tar of stage --- .gitignore | 1 + cook.sh | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bef743e27..1a6efb166 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build stage +stage.tar diff --git a/cook.sh b/cook.sh index 3b91ec647..8810e6779 100755 --- a/cook.sh +++ b/cook.sh @@ -27,6 +27,9 @@ then fetch) git clone --recursive "$GIT" build ;; + unfetch) + rm -rf build + ;; stage) mkdir -p stage/bin cd build @@ -36,8 +39,12 @@ then unstage) rm -rf stage ;; - unfetch) - rm -rf build + tar) + cd stage + tar cf ../stage.tar . + ;; + untar) + rm -rf stage.tar ;; update) cd build