forked from AustralianDisabilityLimited/unisubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kick
13 lines (13 loc) · 801 Bytes
/
.kick
1
2
3
4
5
6
7
8
9
10
11
12
13
process do |files|
files.take_and_map do |file|
case file
when %r{^media/src/js/embedder/embedder.js|media/src/js/embedder/popcorn.amaratranscript.js|media/src/js/embedder/popcorn.amarasubtitle.js|media/src/css/embedder/embedder.scss$}
execute "media/src/build-scripts/embedder/compile-embedder.sh"
when %r{^media/css/v1.scss$}
execute "scss -t compressed media/css/v1.scss media/css/v1.css"
when %r{^media/src/css/subtitle-editor/subtitle-editor.scss$}
execute "scss -t compressed media/src/css/subtitle-editor/subtitle-editor.scss media/src/css/subtitle-editor/subtitle-editor-dev.css"
execute "cp media/src/css/subtitle-editor/subtitle-editor.scss media/release/public/subtitle-editor.css"
end
end
end