Add taigaPlugins, used by taiga-front-extras
parent
178773c153
commit
1f686848de
|
@ -12,6 +12,5 @@ app/coffee/modules/locales/locale*.coffee
|
||||||
tags
|
tags
|
||||||
tmp/
|
tmp/
|
||||||
app/config/main.coffee
|
app/config/main.coffee
|
||||||
app/plugins/taiga-front-extras
|
|
||||||
scss-lint.log
|
scss-lint.log
|
||||||
e2e/screenshots/
|
e2e/screenshots/
|
||||||
|
|
|
@ -648,6 +648,7 @@ modules = [
|
||||||
"taigaProject",
|
"taigaProject",
|
||||||
"taigaUserSettings",
|
"taigaUserSettings",
|
||||||
"taigaFeedback",
|
"taigaFeedback",
|
||||||
|
"taigaPlugins",
|
||||||
"taigaIntegrations",
|
"taigaIntegrations",
|
||||||
"taigaComponents",
|
"taigaComponents",
|
||||||
# new modules
|
# new modules
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!main.coffee
|
|
@ -0,0 +1,22 @@
|
||||||
|
###
|
||||||
|
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
|
||||||
|
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
|
||||||
|
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
|
||||||
|
#
|
||||||
|
# This program is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Affero 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 Affero General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
# File: modules/backlog.coffee
|
||||||
|
###
|
||||||
|
|
||||||
|
module = angular.module("taigaPlugins", ["ngRoute"])
|
21
gulpfile.js
21
gulpfile.js
|
@ -51,6 +51,7 @@ paths.jade = [
|
||||||
paths.htmlPartials = [
|
paths.htmlPartials = [
|
||||||
paths.tmp + "partials/**/*.html",
|
paths.tmp + "partials/**/*.html",
|
||||||
paths.tmp + "modules/**/*.html",
|
paths.tmp + "modules/**/*.html",
|
||||||
|
paths.tmp + "plugins/**/*.html",
|
||||||
"!" + paths.tmp + "partials/includes/**/*.html",
|
"!" + paths.tmp + "partials/includes/**/*.html",
|
||||||
"!" + paths.tmp + "/modules/**/includes/**/*.html"
|
"!" + paths.tmp + "/modules/**/includes/**/*.html"
|
||||||
];
|
];
|
||||||
|
@ -81,6 +82,7 @@ paths.styles_dependencies = [
|
||||||
paths.css = [
|
paths.css = [
|
||||||
paths.tmp + "styles/**/*.css",
|
paths.tmp + "styles/**/*.css",
|
||||||
paths.tmp + "modules/**/*.css",
|
paths.tmp + "modules/**/*.css",
|
||||||
|
paths.tmp + "plugins/**/*.css"
|
||||||
];
|
];
|
||||||
|
|
||||||
paths.css_order = [
|
paths.css_order = [
|
||||||
|
@ -96,6 +98,7 @@ paths.css_order = [
|
||||||
paths.tmp + "styles/modules/**/*.css",
|
paths.tmp + "styles/modules/**/*.css",
|
||||||
paths.tmp + "modules/**/*.css",
|
paths.tmp + "modules/**/*.css",
|
||||||
paths.tmp + "styles/shame/*.css",
|
paths.tmp + "styles/shame/*.css",
|
||||||
|
paths.tmp + "plugins/**/*.css",
|
||||||
paths.tmp + "themes/**/*.css"
|
paths.tmp + "themes/**/*.css"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -127,7 +130,9 @@ paths.coffee_order = [
|
||||||
paths.app + "coffee/modules/user-settings/*.coffee",
|
paths.app + "coffee/modules/user-settings/*.coffee",
|
||||||
paths.app + "coffee/modules/integrations/*.coffee",
|
paths.app + "coffee/modules/integrations/*.coffee",
|
||||||
paths.app + "modules/**/*.module.coffee",
|
paths.app + "modules/**/*.module.coffee",
|
||||||
paths.app + "modules/**/*.coffee"
|
paths.app + "modules/**/*.coffee",
|
||||||
|
paths.app + "plugins/*.coffee",
|
||||||
|
paths.app + "plugins/**/*.coffee"
|
||||||
];
|
];
|
||||||
|
|
||||||
paths.libs = [
|
paths.libs = [
|
||||||
|
@ -480,6 +485,17 @@ gulp.task("copy-theme-images", function() {
|
||||||
.pipe(gulp.dest(paths.dist + "/images/" + themes.current.name));
|
.pipe(gulp.dest(paths.dist + "/images/" + themes.current.name));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
gulp.task("copy-images-plugins", function() {
|
||||||
|
return gulp.src(paths.app + "/plugins/**/images/*")
|
||||||
|
.pipe(flatten())
|
||||||
|
.pipe(gulp.dest(paths.dist + "/images/"));
|
||||||
|
});
|
||||||
|
|
||||||
|
gulp.task("copy-plugin-templates", function() {
|
||||||
|
return gulp.src(paths.app + "/plugins/**/templates/**/*.html")
|
||||||
|
.pipe(gulp.dest(paths.dist + "/plugins/"));
|
||||||
|
});
|
||||||
|
|
||||||
gulp.task("copy-extras", function() {
|
gulp.task("copy-extras", function() {
|
||||||
return gulp.src(paths.extras + "/*")
|
return gulp.src(paths.extras + "/*")
|
||||||
.pipe(gulp.dest(paths.dist + "/"));
|
.pipe(gulp.dest(paths.dist + "/"));
|
||||||
|
@ -490,6 +506,8 @@ gulp.task("copy", [
|
||||||
"copy-theme-fonts",
|
"copy-theme-fonts",
|
||||||
"copy-images",
|
"copy-images",
|
||||||
"copy-theme-images",
|
"copy-theme-images",
|
||||||
|
"copy-images-plugins",
|
||||||
|
"copy-plugin-templates",
|
||||||
"copy-svg",
|
"copy-svg",
|
||||||
"copy-theme-svg",
|
"copy-theme-svg",
|
||||||
"copy-extras"
|
"copy-extras"
|
||||||
|
@ -509,6 +527,7 @@ gulp.task("express", function() {
|
||||||
app.use("/svg", express.static(__dirname + "/dist/svg"));
|
app.use("/svg", express.static(__dirname + "/dist/svg"));
|
||||||
app.use("/partials", express.static(__dirname + "/dist/partials"));
|
app.use("/partials", express.static(__dirname + "/dist/partials"));
|
||||||
app.use("/fonts", express.static(__dirname + "/dist/fonts"));
|
app.use("/fonts", express.static(__dirname + "/dist/fonts"));
|
||||||
|
app.use("/plugins", express.static(__dirname + "/dist/plugins"));
|
||||||
app.use("/locales", express.static(__dirname + "/dist/locales"));
|
app.use("/locales", express.static(__dirname + "/dist/locales"));
|
||||||
app.use("/maps", express.static(__dirname + "/dist/maps"));
|
app.use("/maps", express.static(__dirname + "/dist/maps"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue