-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,077 changed files
with
9,626 additions
and
12,393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ckeditor-dev | ||
moono |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.PHONY: checkout build build_all plone moono clean | ||
|
||
|
||
checkout: | ||
./checkout.sh | ||
|
||
build: | ||
./build.sh | ||
|
||
plone: | ||
./plone.sh | ||
|
||
moono: | ||
./moono.sh | ||
|
||
build_all: checkout plone build moono | ||
|
||
clean: | ||
rm -rf ckeditor-dev moono |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
CKEDITOR_BUILDER_DIR="$(pwd)/ckeditor-dev/dev/builder" | ||
: "${CKEDITOR_VERSION:?"Need to set CKEDITOR_VERSION environment variable"}" | ||
"${CKEDITOR_BUILDER_DIR}/build.sh" | ||
CKEDITOR_SRC_DIR="$(pwd)/../../src/collective/ckeditor/_src" | ||
rm -rf "${CKEDITOR_SRC_DIR}/ckeditor" | ||
tar -xzf "${CKEDITOR_BUILDER_DIR}/release/ckeditor_${CKEDITOR_VERSION}.tar.gz" \ | ||
-C "${CKEDITOR_SRC_DIR}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
: "${CKEDITOR_VERSION:?"Need to set CKEDITOR_VERSION environment variable"}" | ||
CKEDITOR_GITHUB_URL="git@github.com:ckeditor/ckeditor-dev.git" | ||
CKEDITOR_DEV_DIR="$(pwd)/ckeditor-dev" | ||
if [ ! -d "${CKEDITOR_DEV_DIR}" ]; then | ||
git clone "${CKEDITOR_GITHUB_URL}" | ||
fi | ||
cd "${CKEDITOR_DEV_DIR}" | ||
if [ ! -d ".git" ]; then | ||
echo "$(pwd) is not a git checkout" | ||
exit 1 | ||
fi | ||
git fetch origin | ||
git checkout "${CKEDITOR_VERSION}" | ||
cd .. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
: "${CKEDITOR_VERSION:?"Need to set CKEDITOR_VERSION environment variable"}" | ||
CKEDITOR_SRC_DIR="$(pwd)/../../src/collective/ckeditor/_src" | ||
|
||
# download and install Monoo color skin | ||
MOONO_COLOR_DIR="$(pwd)/moono" | ||
if [ ! -d "${MOONO_COLOR_DIR}" ]; then | ||
mkdir "$MOONO_COLOR_DIR" | ||
fi | ||
if [[ ${CKEDITOR_VERSION} == 4.4* ]]; then | ||
MOONO_COLOR_VERSION=1.4.1 | ||
fi | ||
if [[ ${CKEDITOR_VERSION} == 4.5* ]]; then | ||
MOONO_COLOR_VERSION=1.4.1 | ||
fi | ||
# complain if monoo color version has not be computed | ||
if [ -z ${MOONO_COLOR_VERSION+x} ]; then | ||
echo "version of Monoo color skin could not be computed" | ||
exit 1 | ||
fi | ||
function error_exit | ||
{ | ||
echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2 | ||
exit 1 | ||
} | ||
|
||
MOONO_COLOR_FILE=moonocolor_${MOONO_COLOR_VERSION}.zip | ||
MOONO_COLOR_URL=http://download.ckeditor.com/moonocolor/releases/${MOONO_COLOR_FILE} | ||
echo "Downloading ${MOONO_COLOR_URL}..." | ||
curl -o "${MOONO_COLOR_DIR}/${MOONO_COLOR_FILE}" ${MOONO_COLOR_URL} || error_exit "download of Monoo Color failed" | ||
unzip "${MOONO_COLOR_DIR}/${MOONO_COLOR_FILE}" -d "${CKEDITOR_SRC_DIR}/ckeditor/skins" | ||
rm -rf "${CKEDITOR_SRC_DIR}/ckeditor/skins/moono" | ||
rm -rf "${CKEDITOR_SRC_DIR}/ckeditor/skins/kama" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
CKEDITOR_DEV_DIR="$(pwd)/ckeditor-dev" | ||
BUILDONFIG="${CKEDITOR_DEV_DIR}/dev/builder/build-config.js" | ||
# mention image2 plugin in build configuration | ||
# so that it gets included in the distro | ||
sed -i '/image: 1,/aimage2: 1,' "${BUILDONFIG}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.