#!/bin/sh

# core changes to core/engine-api
# engine changes to core/engine-impl
# cli java code moves in to engine-impl
# defaults moves to plugins/defaults
#

set -ex

# if this is a re-apply, we'll need to move these dirs out the way
rm -rf engine/api engine/app engine/core plugin test

git mv engine engine-core
mkdir -p engine
git mv engine-core engine/core
git mv core engine/api
git mv cli engine/app

git mv plugins plugin
git mv defaults plugin/defaults


mkdir -p test
git mv test-shared test/shared
git mv test-integration test/functional
