-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document Makefile dependencies #2198
Comments
I think |
@silverwind Do you have a list of those? If you're referring to various |
Looking quickly at makefile most (every ?) of deps are go project that are |
And looking at #2194 ref. I think this PR is mostly for inkscape/convert/... new deps. |
@sapk not only, for development there is also make and golang dependency ;) |
I think these are all that are not pulled via git, gocovmerge, lessc, inkscape, ImageMagick, zopflipng Can gocovmerge be installed via |
I have done a PR to fix gocovmerge. Lessc is based on a go version that is go get. |
This changes the previous nonstandard `lessc` to the official one and enables CSS minification via the clean-css module. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally in node_modules so there is no dependency on binaries in PATH. Benefits include: - Allows one to have a standard lessc in PATH. - Can now use command line switches on lessc. - Minified CSS brings faster page load times and also has the benefit of discouraging contributors from editing CSS directly. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally based on the information in `package.json`. The 'make stylesheet' task was modified to run without condition. This makes it easier to work on the make task itself without having to delete files. Also fixes: go-gitea#2198
Description
The
Makefile
has various dependencies on command line tools which should be documented as a requirement for developing Gitea. I'm thinking this should be in a file in the repository itself and not on the website, maybe inCONTRIBUTING.md
orREADME.md
.The text was updated successfully, but these errors were encountered: