Commit Graph

128 Commits (035c82aec4bb280baf0e6a7cc20a414626ec405f)

Author SHA1 Message Date
Thomas Boerger cc8c57458f
Really use go install on make install
Sandro Santilli 5301a5db3a Have the deault 'all' rule just build
Clean and test are saner being seperate targets
Sandro Santilli 4247304f5a Update import paths from github.com/go-gitea to code.gitea.io ()
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis

See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
Sandro Santilli f430d26f7e Hush dangerous GNU comment, mark "check" rule as phony
Sandro Santilli 3f18111cbe Add "check" alias for testing
Follows GNU Coding Standards, see
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
Thomas Boerger ec054ba582
Totally refactored the makefile and adjusted travis config
Thomas Boerger cda6baf02c Merge branch 'master' into feature/main.go
Matthias Loibl f01d927efb Rename all occurrences of gogs.go
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Joubert RedRat ff54e4d929 Set default less and css to new default name
Rémy Boulanouar 2d68bd1ef9 Change import reference to match gitea instead of gogs ()
Sandro Santilli 47a3243ff1 Add all, check and dist Makefile rules ()
These are to follow the GNU Coding Standards Makefile Targets:
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
Unknwon f70343660d Little code refactoring
Unknwon 08c976f811 Only do go vet on this codebase
Unknwon cf6d321991 Ignore repository with issue disabled or use external tracker in dashboard issues
Unknwon 899e799459 support delete issue comment
Dan McGregor db3905c0a3 Make go's build flags a variable
This allows the user to specify build flags from the make command
line. For example to force a complete rebuild one could use:

make BUILD_FLAGS='-v -a' TAGS="sqlite"
Unknwon 58f0c68151 Some minor changes
Unknwon 58e004f7da Remove cache avatar support and add its tests
Unknwon a1d97e8f5c Minor fix for
Andrey Nering b8d0367a6c Add command to run the test suite in Makefile.
Unknwon db719abff2 stop compile bindata for TRANSLATORS
- update required version of git-module for 
Unknwon a49af93faf APIs: Users Followers
- User profile un/follow
- List user's followers/following
Adam Strzelecki eb6c634475 Makefile: Do not fail build on missing lessc
This is achieved by adding public/css/gogs.css to special .IGNORE target, which
makes inability to generate/update gogs.css non-fatal and not stopping whole
build process. User is still notified about missing lessc command though, since
inability to update CSS may lead to potential problems:

    lessc public/less/gogs.less public/css/gogs.css
    make: lessc: No such file or directory
    make: [public/css/gogs.css] Error 1 (ignored)

More info at:

  https://www.gnu.org/software/make/manual/html_node/Special-Targets.html
Adam Strzelecki 19e8ce0354 Makefile: Remove trailing whitespace & add last LF
This is pure cleanup commit.
Adam Strzelecki f907a5c98b Makefile: Auto-build CSS & bin-data when necessary
This will ensure that running `make` we will get all necessary files built and
we do not need manually remember to rebuild them.
Adam Strzelecki da607c611d Makefile: Copy installed binary instead 2nd build
This speeds up single build/rebuild rather than install & build which compiles
everything twice, we just copy installed binary back to the project root.
Unknwon b55499d039 go vet and fix
Unknwon a374751eb8 add Makefile