|
|
|
@ -5,7 +5,7 @@
@@ -5,7 +5,7 @@
|
|
|
|
|
%define gitea_logdir /var/log/gitea/ |
|
|
|
|
|
|
|
|
|
Name : gitea |
|
|
|
|
Version : 1.11.5 |
|
|
|
|
Version : 1.12.3 |
|
|
|
|
Release : 1%{dist} |
|
|
|
|
License : MIT |
|
|
|
|
URL : http://gitea.io |
|
|
|
@ -47,8 +47,11 @@ npm install
@@ -47,8 +47,11 @@ npm install
|
|
|
|
|
npx eslint web_src/js webpack.config.js |
|
|
|
|
npx webpack |
|
|
|
|
npx lessc web_src/less/index.less public/css/index.css |
|
|
|
|
npx lessc web_src/less/themes/arc-green.less o> public/css/theme-arc-green.css |
|
|
|
|
npx postcss --use autoprefixer --use cssnano --no-map --replace public/css/* |
|
|
|
|
npx lessc web_src/less/themes/theme-arc-green.less public/css/theme-arc-green.css |
|
|
|
|
#npx postcss --use autoprefixer --use cssnano --no-map --replace public/css/* |
|
|
|
|
cp web_src/fomantic/theme.config.less node_modules/fomantic-ui/src/theme.config |
|
|
|
|
cp -r web_src/fomantic/_site/* node_modules/fomantic-ui/src/_site/ |
|
|
|
|
npx gulp -f node_modules/fomantic-ui/gulpfile.js build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|