Skip to content

Commit

Permalink
Merge pull request #14 from carsonreinke/feature-exit-code
Browse files Browse the repository at this point in the history
Feature exit code
  • Loading branch information
dtylman authored Dec 13, 2020
2 parents 29b283f + d4af371 commit 67dc8d1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ gitmoo-goog.bz2
gitmoo-goog.zip

# photos that were downloaded
202*
201*
199*

Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ Files are created as follows:

`[folder][year][month][day]_[hash].json` and `.jpg`. The `json` file holds the metadata from `google-photos`.

## Building:

To build you may need to specify that module download mode is using a vendor folder. Failure to do this will mean that modified vendor files will not be used.

`go build -mod vendor`

## Testing:

`go test -mod vendor ./...`

## Docker (Linux only)

You can run gitmoo-goog in Docker. At the moment you have to build the image yourself. After cloning the repo run:
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,6 @@ func main() {
err := process(downloader)
if err != nil {
log.Println(err)
os.Exit(1)
}
}

0 comments on commit 67dc8d1

Please sign in to comment.