aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Set the ldflags to static value within makefile (#709)Thomas Boerger2017-01-201-1/+1
|
* Enforce custom LDFLAGS within makefile (#684)Thomas Boerger2017-01-171-1/+1
|
* Makefile: on Windows, executable should have ".exe" (#550)Andrey Nering2017-01-011-1/+6
|
* replcae go fmt with gofmt command.Bo-Yi Wu2016-12-301-1/+1
| | | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Properly handle drone tags and release/* branches (#466)v1.0.0Thomas Boerger2016-12-241-2/+2
|
* Bindata is optional and over-writable on restart (#354)Thomas Boerger2016-12-221-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved conf assets into options folder * Dropped old bindata * Started to integrate options bindata and accessors * Do not enforce a builtin app.ini * Replaced bindata calls with options * Dropped bindata task from makefile, it's the generate task now * Always embedd app.ini to provide sane config defaults * Use sane defaults for the configuration * Defined default value for SSH_KEYGEN_PATH * Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini * Fixed new paths in latest test additions * Drop bindata with make clean task * Set more proper default values
* Do not override the binary version name from drone (#436)Thomas Boerger2016-12-211-3/+1
| | | Signed-off-by: Thomas Boerger <tboerger@suse.de>
* Fixing multiple docker issues (#386)Thomas Boerger2016-12-151-0/+5
| | | | | | | | | | | | * Added stupid docker task to makefile * Dropped unknown option PrintLastLog from docker ssh config * OpenSSH should log to docker stdout * Set random pw for docker git user, otherwise it is locked * Stop using templates and public within docker
* Autogenerate Version on build (#190)Kim "BKC" Carlbäcker2016-12-131-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Autogenerate Version On Build * Fixes * Changed Version to v0.9.0 * balls * I hate newlines * Don't remove .VERSION-file on `make clean` * v0.9.0 => 1.0.0 * damn new-lines... * Always rebuild templates/.VERSION * Delete .VERSION * Update Makefile
* Actually fix 'make build' (#353)Kim "BKC" Carlbäcker2016-12-051-2/+2
| | | | * Actually fix bloddy 'make build'
* Awlays build, even when it thinks it's up to date (#351)Kim "BKC" Carlbäcker2016-12-051-0/+1
|
* Properly move releases within drone buildsThomas Boerger2016-12-051-2/+8
|
* Get rid of bin folder within makefile, enabled TiDB (#319)Thomas Boerger2016-12-011-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * Get rid of the bin folder within the build process Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped latest make task, it is unused Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Added tidb tag to drone config Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped the cert build tag Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped useless minwinsvc build tag Signed-off-by: Thomas Boerger <thomas@webhippie.de> * Dropped the useless build tags from drone config Signed-off-by: Thomas Boerger <thomas@webhippie.de>
* Have "make" create the executable in root dir (#247)Sandro Santilli2016-11-301-2/+2
| | | | | Same as "go build". Makes it functional by default as it'd then find template/ and public/ by default w/out setting GITEA_WORK_DIR
* Integrate public as bindata optionally (#293)Thomas Boerger2016-11-301-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | * Dropped unused codekit config * Integrated dynamic and static bindata for public * Ignore public bindata * Add a general generate make task * Integrated flexible public assets into web command * Updated vendoring, added all missiong govendor deps * Made the linter happy with the bindata and dynamic code * Moved public bindata definition to modules directory * Ignoring the new bindata path now * Updated to the new public modules import path * Updated public bindata command and drop the new prefix
* Replace invaliud bindata variable names within make taskThomas Boerger2016-11-291-0/+2
|
* Added errcheck make task (#242)Thomas Boerger2016-11-251-0/+7
|
* Merge pull request #96 from metalmatze/feature/drone-configThomas Boerger2016-11-241-4/+12
|\ | | | | Create a first draft for .drone.yml
| * Added drone instead of travis detection to makefileThomas Boerger2016-11-241-4/+4
| |
| * Added dummy tasks for mysql and pgsql testsThomas Boerger2016-11-241-0/+8
| |
* | Really use go install on make installThomas Boerger2016-11-241-2/+2
|/
* Have the deault 'all' rule just buildSandro Santilli2016-11-241-1/+1
| | | | Clean and test are saner being seperate targets
* Update import paths from github.com/go-gitea to code.gitea.io (#135)Sandro Santilli2016-11-101-3/+3
| | | | | | | - 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
* Hush dangerous GNU comment, mark "check" rule as phonySandro Santilli2016-11-071-1/+1
|
* Add "check" alias for testingSandro Santilli2016-11-071-0/+3
| | | | | Follows GNU Coding Standards, see https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
* Totally refactored the makefile and adjusted travis configThomas Boerger2016-11-041-51/+109
|
* Merge branch 'master' into feature/main.goThomas Boerger2016-11-041-4/+4
|\
| * Set default less and css to new default nameJoubert RedRat2016-11-041-4/+4
| |
* | Rename all occurrences of gogs.goMatthias Loibl2016-11-041-1/+1
|/ | | | Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
* Change import reference to match gitea instead of gogs (#37)Rémy Boulanouar2016-11-031-2/+2
|
* Add all, check and dist Makefile rules (#3549)Sandro Santilli2016-08-301-1/+7
| | | | These are to follow the GNU Coding Standards Makefile Targets: https://www.gnu.org/prep/standards/html_node/Standard-Targets.html
* Little code refactoringUnknwon2016-08-091-1/+0
|
* Only do go vet on this codebaseUnknwon2016-08-061-4/+6
|
* Ignore repository with issue disabled or use external tracker in dashboard ↵Unknwon2016-08-051-6/+7
| | | | issues
* #1601 support delete issue commentUnknwon2016-07-261-0/+4
|
* Make go's build flags a variableDan McGregor2016-03-151-2/+3
| | | | | | | 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"
* Some minor changesUnknwon2016-03-061-0/+6
|
* Remove cache avatar support and add its testsUnknwon2016-02-141-5/+5
|
* Minor fix for #2567Unknwon2016-02-141-0/+4
|
* Add command to run the test suite in Makefile.Andrey Nering2016-01-161-0/+3
|
* stop compile bindata for TRANSLATORSUnknwon2016-01-111-1/+1
| | | | - update required version of git-module for #2373
* #1692 APIs: Users FollowersUnknwon2015-12-211-1/+1
| | | | | - User profile un/follow - List user's followers/following
* Makefile: Do not fail build on missing lesscAdam Strzelecki2015-12-091-0/+2
| | | | | | | | | | | | | | | 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
* Makefile: Remove trailing whitespace & add last LFAdam Strzelecki2015-12-011-2/+2
| | | | This is pure cleanup commit.
* Makefile: Auto-build CSS & bin-data when necessaryAdam Strzelecki2015-12-011-3/+14
| | | | | This will ensure that running `make` we will get all necessary files built and we do not need manually remember to rebuild them.
* Makefile: Copy installed binary instead 2nd buildAdam Strzelecki2015-12-011-1/+1
| | | | | This speeds up single build/rebuild rather than install & build which compiles everything twice, we just copy installed binary back to the project root.
* go vet and fix #1890Unknwon2015-11-081-2/+7
|
* add MakefileUnknwon2015-11-031-0/+30