{"id":13367486,"url":"https://github.com/liudng/doGo","last_synced_at":"2025-03-12T18:32:56.175Z","repository":{"id":23490566,"uuid":"26855821","full_name":"liudng/dogo","owner":"liudng","description":"Monitoring changes in the source file and automatically compile and run (restart).","archived":false,"fork":false,"pushed_at":"2019-03-15T05:14:19.000Z","size":3220,"stargazers_count":266,"open_issues_count":5,"forks_count":45,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-08-01T19:42:22.980Z","etag":null,"topics":["build-tool","devops","file-watchers","filewatcher","inotify","monitor-changes","monitoring","watchfolder","windows-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"udacity/ud120-projects","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liudng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-19T10:16:35.000Z","updated_at":"2024-05-31T08:16:43.000Z","dependencies_parsed_at":"2022-08-22T00:31:10.818Z","dependency_job_id":null,"html_url":"https://github.com/liudng/dogo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudng%2Fdogo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudng%2Fdogo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudng%2Fdogo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liudng%2Fdogo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liudng","download_url":"https://codeload.github.com/liudng/dogo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221309993,"owners_count":16795840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-tool","devops","file-watchers","filewatcher","inotify","monitor-changes","monitoring","watchfolder","windows-api"],"created_at":"2024-07-30T00:01:50.869Z","updated_at":"2024-10-24T11:31:25.909Z","avatar_url":"https://github.com/liudng.png","language":"Go","readme":"# dogo\n\n[![Build Status](https://travis-ci.org/liudng/dogo.svg)](https://travis-ci.org/liudng/dogo)\n[![Coverage](http://gocover.io/_badge/github.com/liudng/dogo)](http://gocover.io/github.com/liudng/dogo)\n[![License](https://img.shields.io/badge/license-BSD-blue.svg?style=flat)](https://github.com/liudng/dogo/blob/master/LICENSE)\n\nMonitoring changes in the source file and automatically compile and run (restart).\n\n[中文](doc/zh/README.md)\n\n## Install\n\n```bash\ngo get github.com/liudng/dogo\n```\n\n## Create config\n\nHere's a config file sample, save the file as **dogo.json**:\n\n```json\n{\n    \"WorkingDir\": \"{GOPATH}/src/github.com/liudng/dogo/example\",\n    \"SourceDir\": [\n        \"{GOPATH}/src/github.com/liudng/dogo/example\"\n    ],\n    \"SourceExt\": [\".c\", \".cpp\", \".go\", \".h\"],\n    \"BuildCmd\": \"go build github.com/liudng/dogo/example\",\n    \"RunCmd\": \"example.exe\",\n    \"Decreasing\": 1\n}\n```\n\n**WorkingDir**: working directory, dogo will auto change to this directory.\n\n**SourceDir**: the list of source directories.\n\n**SourceExt**: monitoring file type.\n\n**BuildCmd**: the command of build and compile.\n\n**RunCmd**: the program (full) path.\n\n**Decreasing**: Ignore the number of modifies, it's only start counting after build success. Now it's supported in linux and windows.\n\n## Start monitoring\n\ntype the command to start:\n\n```sh\ndogo\n```\n\nor, specify a config file with -c\n\n```sh\ndogo -c=/path/to/dogo.json\n```\n\nthe path can contain {GOPATH}.\n\n## screen capture\n\n![windows screen](doc/en/img/screen2.png)\n","funding_links":[],"categories":["软件包","軟件包"],"sub_categories":["DevOps 工具"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliudng%2FdoGo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliudng%2FdoGo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliudng%2FdoGo/lists"}