From 15ef3f58a2fedf41045f51629d933156ee774dbb Mon Sep 17 00:00:00 2001 From: Christoph Date: Thu, 12 Jun 2014 23:13:40 +0200 Subject: [PATCH] rebuilt Propel files and added helper for Windows systems Using Propel 1 with Composer is a nightmare on Windows: https://github.com/propelorm/Propel/pull/588 The small batch file works around Propel by simply directly invoking Phing. --- lib/core/build/conf/classmap-datawrapper-conf.php | 2 +- scripts/rebuild-propel.bat | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 scripts/rebuild-propel.bat diff --git a/lib/core/build/conf/classmap-datawrapper-conf.php b/lib/core/build/conf/classmap-datawrapper-conf.php index ea780be36c..2f74ea1ffb 100644 --- a/lib/core/build/conf/classmap-datawrapper-conf.php +++ b/lib/core/build/conf/classmap-datawrapper-conf.php @@ -1,5 +1,5 @@ 'datawrapper/Action.php', 'ActionPeer' => 'datawrapper/ActionPeer.php', diff --git a/scripts/rebuild-propel.bat b/scripts/rebuild-propel.bat new file mode 100644 index 0000000000..e735570fcd --- /dev/null +++ b/scripts/rebuild-propel.bat @@ -0,0 +1,6 @@ +@echo off + +rem change into project root +cd %~dp0\.. + +vendor\bin\phing -f vendor\propel\propel1\generator\build.xml -Dproject.dir=lib\core\