Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
🏗️ Maked architectural changes
Browse files Browse the repository at this point in the history
  • Loading branch information
toby3d committed Feb 20, 2018
1 parent 4aaff88 commit a65ca2e
Show file tree
Hide file tree
Showing 86 changed files with 1,450 additions and 1,069 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
# Project-local glide cache
# RE: https://github.com/Masterminds/glide/issues/736
.glide/

# Golang project vendor packages which should be ignored
vendor/

# Production files must not be in public repository
config.yaml
MyPackBot
stickers.db
configs/config.yaml
cert.key
cert.pem
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ fmt:

# Build localization files with separated untranslated strings
translation:
goi18n merge -format yaml -sourceLanguage en -outdir ./i18n/ ./i18n/*/*
goi18n merge -format yaml \
-sourceLanguage en \
-outdir ./translations/ \
./translations/src/*/*

# Build localization files and merge untranslated strings
localization:
make translation
goi18n -format yaml -sourceLanguage en -outdir ./i18n/ ./i18n/*.all.yaml \
./i18n/*.untranslated.yaml
goi18n -format yaml \
-sourceLanguage en \
-outdir ./translations/ \
./translations/*.all.yaml ./translations/*.untranslated.yaml
6 changes: 0 additions & 6 deletions PATRONS.md

This file was deleted.

31 changes: 0 additions & 31 deletions actions.go

This file was deleted.

104 changes: 0 additions & 104 deletions add.go

This file was deleted.

1 change: 0 additions & 1 deletion .travis.yml → build/ci/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: go

go:
- 1.9
- tip

install:
Expand Down
39 changes: 0 additions & 39 deletions cancel.go

This file was deleted.

39 changes: 0 additions & 39 deletions commands.go

This file was deleted.

2 changes: 1 addition & 1 deletion config.example.yaml → configs/config.example.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
telegram:
token: 123456789:ABCd1efGhjKLM23O4pqR5stuvwx678yz90
webhook:
set: https://www.google.com
set: https://toby3d.github.io
listen: /bot
serve: 0.0.0.0:2368
channel: -1000000000000
Loading

0 comments on commit a65ca2e

Please sign in to comment.