Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
static.ubuntu-it.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
static.ubuntu-it.org
Commits
8d1a2276
Commit
8d1a2276
authored
Sep 18, 2018
by
Pietro Albini
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
repos/artworks: add repo
parent
8add21b6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
.gitmodules
.gitmodules
+3
-0
Makefile
Makefile
+8
-2
repos/artworks
repos/artworks
+1
-0
update-repos.sh
update-repos.sh
+1
-1
No files found.
.gitmodules
View file @
8d1a2276
[submodule "repos/italy-theme"]
[submodule "repos/italy-theme"]
path = repos/italy-theme
path = repos/italy-theme
url = https://code.ubuntu-it.org/ubuntu-it-web/italy-theme.git/
url = https://code.ubuntu-it.org/ubuntu-it-web/italy-theme.git/
[submodule "repos/artworks"]
path = repos/artworks
url = https://code.ubuntu-it.org/comunita/artworks.git/
Makefile
View file @
8d1a2276
...
@@ -26,6 +26,7 @@ DIRS_IMAGES = themes pictograms
...
@@ -26,6 +26,7 @@ DIRS_IMAGES = themes pictograms
DIR_BUILD
=
build
DIR_BUILD
=
build
DIR_ITALY_THEME
=
repos/italy-theme
DIR_ITALY_THEME
=
repos/italy-theme
DIR_ARTWORKS
=
repos/artworks
JS_MINIFIER
=
python3
-m
rjsmin
JS_MINIFIER
=
python3
-m
rjsmin
CSS_MINIFIER
=
python3
-m
rcssmin
CSS_MINIFIER
=
python3
-m
rcssmin
...
@@ -46,9 +47,9 @@ images_svg = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_IMAGES) -type f -na
...
@@ -46,9 +47,9 @@ images_svg = $(patsubst %,$(DIR_BUILD)/%,$(shell find $(DIRS_IMAGES) -type f -na
.PHONY
:
build clean italy-theme build-inner
.PHONY
:
build clean italy-theme
artworks
build-inner
build
:
italy-theme
build
:
italy-theme
artworks
@
$(MAKE)
build-inner
@
$(MAKE)
build-inner
build-inner
:
$(js) $(css) $(fonts_ttf) $(fonts_eot) $(fonts_woff) $(images_png) $(images_jpg) $(images_svg)
build-inner
:
$(js) $(css) $(fonts_ttf) $(fonts_eot) $(fonts_woff) $(images_png) $(images_jpg) $(images_svg)
...
@@ -64,6 +65,11 @@ italy-theme:
...
@@ -64,6 +65,11 @@ italy-theme:
@
mkdir
-p
$(DIR_BUILD)
/themes/italy
@
mkdir
-p
$(DIR_BUILD)
/themes/italy
@
cp
$(DIR_ITALY_THEME)
/demo.html
$(DIR_BUILD)
/themes/italy
@
cp
$(DIR_ITALY_THEME)
/demo.html
$(DIR_BUILD)
/themes/italy
artworks
:
@
git submodule update
--init
--recursive
$(DIR_ARTWORKS)
@
mkdir
-p
$(DIR_BUILD)
/logo
@
cp
-r
$(DIR_ARTWORKS)
/logo/
*
$(DIR_BUILD)
/logo
$(DIR_BUILD)/%.min.js
:
%.js
$(DIR_BUILD)/%.min.js
:
%.js
@
mkdir
-p
$(
dir
$@
)
@
mkdir
-p
$(
dir
$@
)
@
$(JS_MINIFIER)
<
$<
>
$@
@
$(JS_MINIFIER)
<
$<
>
$@
...
...
artworks
@
4b0547d9
Subproject commit 4b0547d9993286d051e382b57d092e44a5bbb4d9
update-repos.sh
View file @
8d1a2276
...
@@ -25,7 +25,7 @@ IFS=$'\n\t'
...
@@ -25,7 +25,7 @@ IFS=$'\n\t'
REPOS_DIR
=
"repos"
REPOS_DIR
=
"repos"
repos
=
"
$(
ls
"
${
REPOS_DIR
}
"
)
"
repos
=
"
$(
ls
"
${
REPOS_DIR
}
"
)
"
for
repo
in
"
$repos
"
;
do
for
repo
in
$repos
;
do
Mattia Rizzolo
@mapreri
·
Sep 18, 2018
Owner
"${repos[@]}"
please :)
`"${repos[@]}"` please :)
Pietro Albini
@pietroalbini
·
Sep 18, 2018
Patches are welcome :)
Patches are welcome :)
Please
register
or
sign in
to reply
# Update the repo
# Update the repo
git
-C
"
${
REPOS_DIR
}
/
${
repo
}
"
fetch
--all
git
-C
"
${
REPOS_DIR
}
/
${
repo
}
"
fetch
--all
git
-C
"
${
REPOS_DIR
}
/
${
repo
}
"
reset
--hard
origin/master
git
-C
"
${
REPOS_DIR
}
/
${
repo
}
"
reset
--hard
origin/master
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment