diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-11-26 13:14:58 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-01-18 15:10:35 +0100 |
commit | 339790ec8eca5b7f781e59c667880b0938616918 (patch) | |
tree | 8b18e0ea1315d0fd894fd0c8960e4a319ede4f93 /install/ui/util | |
parent | 9d3364719dc5cdabe196ae19bf89ec4d2a95e2bd (diff) | |
download | freeipa-339790ec8eca5b7f781e59c667880b0938616918.tar.gz freeipa-339790ec8eca5b7f781e59c667880b0938616918.tar.xz freeipa-339790ec8eca5b7f781e59c667880b0938616918.zip |
Config files for builder of FreeIPA UI layer
* Added package configuration and build profile of FreeIPA UI layer for
Dojo Builder.
* Added script (util/make-ui.sh) which builds the layer
https://fedorahosted.org/freeipa/ticket/112
Diffstat (limited to 'install/ui/util')
-rwxr-xr-x | install/ui/util/make-ui.sh | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/install/ui/util/make-ui.sh b/install/ui/util/make-ui.sh new file mode 100755 index 000000000..678a08cb1 --- /dev/null +++ b/install/ui/util/make-ui.sh @@ -0,0 +1,35 @@ +#!/bin/bash + +# Authors: +# Petr Vobornik <pvoborni@redhat.com> +# +# Copyright (C) 2012 Red Hat +# see file 'COPYING' for use and warranty information +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +# Build script for FreeIPA Web UI + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +IPA_DIR=$DIR/../build/freeipa + +if [ ! -d $IPA_DIR ] ; then + mkdir $IPA_DIR +fi + +$DIR/clean.sh +$DIR/build.sh webui +# don't stop at error. Some dependency errors are expected. +$DIR/compile.sh --release lib --layer freeipa/app --output $IPA_DIR/app.js +$DIR/clean.sh
\ No newline at end of file |