Show More
@@ -23,8 +23,8 b' syntax: regexp' | |||||
23 | ^\.coverage$ |
|
23 | ^\.coverage$ | |
24 | ^kallithea/front-end/node_modules$ |
|
24 | ^kallithea/front-end/node_modules$ | |
25 | ^kallithea/front-end/package-lock\.json$ |
|
25 | ^kallithea/front-end/package-lock\.json$ | |
|
26 | ^kallithea/front-end/tmp$ | |||
26 | ^kallithea/public/css/style\.css(\.map)?$ |
|
27 | ^kallithea/public/css/style\.css(\.map)?$ | |
27 | ^kallithea/public/css/pygments.css$ |
|
|||
28 | ^theme\.less$ |
|
28 | ^theme\.less$ | |
29 | ^kallithea\.db$ |
|
29 | ^kallithea\.db$ | |
30 | ^test\.db$ |
|
30 | ^test\.db$ |
@@ -43,8 +43,12 b' def front_end_build(install_deps, genera' | |||||
43 | subprocess.check_call(['npm', 'install'], cwd=front_end_dir) |
|
43 | subprocess.check_call(['npm', 'install'], cwd=front_end_dir) | |
44 |
|
44 | |||
45 | if generate: |
|
45 | if generate: | |
|
46 | tmp_dir = os.path.join(front_end_dir, 'tmp') | |||
|
47 | if not os.path.isdir(tmp_dir): | |||
|
48 | os.mkdir(tmp_dir) | |||
|
49 | ||||
46 | click.echo("Generating CSS") |
|
50 | click.echo("Generating CSS") | |
47 |
with open(os.path.join(p |
|
51 | with open(os.path.join(tmp_dir, 'pygments.css'), 'w') as f: | |
48 | subprocess.check_call(['pygmentize', |
|
52 | subprocess.check_call(['pygmentize', | |
49 | '-S', 'default', |
|
53 | '-S', 'default', | |
50 | '-f', 'html', |
|
54 | '-f', 'html', |
@@ -13,7 +13,7 b'' | |||||
13 | @import (inline) "3rd-party/dataTables.bootstrap.css"; |
|
13 | @import (inline) "3rd-party/dataTables.bootstrap.css"; | |
14 | @import (less) "../js/select2/select2.css"; |
|
14 | @import (less) "../js/select2/select2.css"; | |
15 | @import (less) "../js/select2/select2-bootstrap.css"; |
|
15 | @import (less) "../js/select2/select2-bootstrap.css"; | |
16 |
@import (less) " |
|
16 | @import (less) "tmp/pygments.css"; | |
17 | @import (less) "../fontello/css/kallithea.css"; |
|
17 | @import (less) "../fontello/css/kallithea.css"; | |
18 |
|
18 | |||
19 | /* kallithea styles */ |
|
19 | /* kallithea styles */ |
General Comments 0
You need to be logged in to leave comments.
Login now