Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
P
postmgr
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
postmgr
postmgr
Commits
ceb0336b
Commit
ceb0336b
authored
Feb 14, 2019
by
MrMan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev -> development
parent
d80b6250
Pipeline
#47386192
passed with stage
in 3 minutes and 44 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+1
-1
infra/conf/development.toml
infra/conf/development.toml
+0
-0
infra/conf/production.toml
infra/conf/production.toml
+0
-0
src/lib.rs
src/lib.rs
+1
-1
No files found.
Makefile
View file @
ceb0336b
...
...
@@ -14,7 +14,7 @@ VERSION=$(shell awk '/version\s+=\s+\"([0-9|\.]+)\"$$/{print $$3}' Cargo.toml)
CARGO
:=
$(
shell
command
-v
cargo 2> /dev/null
)
CARGO_WATCH
:=
$(
shell
command
-v
cargo-watch 2> /dev/null
)
ENV
=
dev
ENV
=
dev
elopment
# | production
IMAGE_NAME
:=
postmgr
BUILDER_IMAGE_NAME
:=
postmgr/builder
...
...
infra/conf/dev.toml
→
infra/conf/dev
elopment
.toml
View file @
ceb0336b
File moved
infra/conf/prod.toml
→
infra/conf/prod
uction
.toml
View file @
ceb0336b
File moved
src/lib.rs
View file @
ceb0336b
...
...
@@ -23,7 +23,7 @@ use std::fs::canonicalize;
use
std
::
env
::
current_dir
;
const
CONFIG_PATH_ENV_VAR
:
&
str
=
"CONFIG_PATH"
;
const
DEFAULT_CFG_PATH
:
&
str
=
"./infra/conf/dev.toml"
;
const
DEFAULT_CFG_PATH
:
&
str
=
"./infra/conf/dev
elopment
.toml"
;
use
config
::{
gather_config
,
AppCfg
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment