Skip to content

Commit

Permalink
settings example added, version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
f1mishutka committed Mar 23, 2023
1 parent 4251e93 commit 474354b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .mtconvy.EXAMPLE.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Rename this file to .mtconvy.yml and edit to override options.
# File is looked in following locations: current dir, directory with `mtconvy` executable, home directory

# Uncomment if you really need custom paths to ffmpeg binaries
#ffmpeg_path: /var/packages/ffmpeg/target/bin/ffmpeg
#ffprobe_path: /var/packages/ffmpeg/target/bin/ffprobe

# One conversion per line. Run `ffmpeg -codec` to see supported codecs.
#conversions:
# dts: eac3

# Default is 640k
#audio_bitrate: 640k

# Appended to output file name
#suffix: CONVERTED

# Preferred languages for audio and subtitles to be default choice when selecting file streams. Could be overridden per-file.
#languages: [UKR, ENG]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ APP_COMMIT := $(shell git rev-list -1 HEAD)
LD_FLAGS := "-X '${MODULE_NAME}/app.BuildVersion=${APP_VERSION}' -X '${MODULE_NAME}/app.BuildCommit=${APP_COMMIT}' -X '${MODULE_NAME}/app.BuildTime=${BUILD_TIME}'"

fn_GO_BUILD = GOOS=$(1) GOARCH=$(2) go build -o ${DIST_DIR}/$(3) -ldflags=${LD_FLAGS} main.go ;\
7z a ${DIST_DIR}/${APP_NAME}-${APP_VERSION}-$(4).7z -mx9 ./${DIST_DIR}/$(3)
7z a ${DIST_DIR}/${APP_NAME}-${APP_VERSION}-$(4).7z -mx9 ./${DIST_DIR}/$(3) ./.mtconvy.EXAMPLE.yml


all: clean build-dist
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.0
1.0.0

0 comments on commit 474354b

Please sign in to comment.