1. 04 Jan, 2020 1 commit
  2. 24 Dec, 2019 1 commit
  3. 08 Dec, 2019 1 commit
  4. 21 Oct, 2019 1 commit
  5. 20 Oct, 2019 1 commit
  6. 17 Jul, 2019 1 commit
  7. 03 Jul, 2019 1 commit
  8. 16 May, 2019 1 commit
    • silverwind's avatar
      add make targets for js and css, add js linter (#6952) · d9dcd093
      silverwind authored
      * add make targets for js,css, add javascript linter
      
      - add `make js`, deprecating `make javascripts`
      - add `make css`, deprecating `make generate-stylesheets` and
        `make stylesheets-check`
      - changed the unclean css check to only run on CI
      - add JS linting via eslint with basic configuration and fixed
        discovered issues
      - changed autoprefixer to use official `postcss-cli` avoiding the need
        to loop in the makefile
      - moved browserslist to package.json so other future tools can use it
        too.
      - update documentation for new make targets and added JS section
      
      * fix indentation
      
      * move functions used in html to 'exported' list
      
      * Run lessc binary without having to install anything to node_modules
      
      * use relative paths to node bin scripts, removing npx
      
      * Revert "use relative paths to node bin scripts, removing npx"
      
      This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b.
      
      * fix lessc and postcss plugins
      
      * check for node...
      d9dcd093
  9. 27 Mar, 2019 1 commit
    • Mura Li's avatar
      Use Go1.11 module (#5743) · d7717691
      Mura Li authored
      * Migrate to go modules
      
      * make vendor
      
      * Update mvdan.cc/xurls
      
      * make vendor
      
      * Update code.gitea.io/git
      
      * make fmt-check
      
      * Update github.com/go-sql-driver/mysql
      
      * make vendor
      d7717691
  10. 18 Mar, 2019 1 commit
  11. 20 Feb, 2019 1 commit
    • John Olheiser's avatar
      Makefile changes for Windows and easier development (#6103) · eaf9ded1
      John Olheiser authored
      * Added Go Path and node_modules to PATH
      * Uses npx now for generate-stylesheets
      * Uses `go env GOPATH` to calculate adding GOPATH/bin to PATH
      * Added note about installing Node 8.0+ to generate stylesheets
      * Added preferred Node version to CONTRIBUTING.md
      eaf9ded1
  12. 02 Jan, 2019 1 commit
  13. 16 Oct, 2018 1 commit
  14. 10 Oct, 2018 1 commit
  15. 09 Oct, 2018 1 commit
  16. 09 Jun, 2018 1 commit
  17. 30 May, 2018 1 commit
  18. 29 May, 2018 1 commit
  19. 27 May, 2018 1 commit
  20. 21 May, 2018 1 commit
  21. 03 Jan, 2018 1 commit
  22. 01 Jan, 2018 1 commit
  23. 04 Dec, 2017 1 commit
  24. 02 Dec, 2017 1 commit
  25. 27 Nov, 2017 2 commits
  26. 28 Oct, 2017 1 commit
  27. 21 Sep, 2017 1 commit
    • silverwind's avatar
      Use standard lessc and minify CSS using Node.js (#2337) · 1fbfccb4
      silverwind authored
      * Use standard lessc and minify CSS using Node.js
      
      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: https://github.com/go-gitea/gitea/issues/2198
      
      * install node, npm and modules on drone
      
      * .PHONY
      
      * use 'minify' to minify CSS
      1fbfccb4
  28. 12 Sep, 2017 1 commit
  29. 02 Sep, 2017 1 commit
  30. 28 Aug, 2017 2 commits
  31. 11 Jun, 2017 1 commit
  32. 28 Apr, 2017 1 commit
  33. 18 Apr, 2017 1 commit
  34. 22 Feb, 2017 1 commit
  35. 19 Feb, 2017 1 commit
  36. 13 Feb, 2017 1 commit
  37. 11 Feb, 2017 1 commit
  38. 24 Jan, 2017 1 commit