Создание правил при инициализации репозитория
This commit is contained in:
parent
c388d01a2f
commit
c65b18a915
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ import std.path;
|
|||
|
||||
import snag.lib;
|
||||
import snag.core.exception;
|
||||
import snag.core.rules;
|
||||
|
||||
class Snag {
|
||||
private string[] _baseCommand;
|
||||
|
@ -84,6 +85,9 @@ class Snag {
|
|||
["config", "user.name", _config.author],
|
||||
"A Git repository initialization error occurred"
|
||||
);
|
||||
|
||||
(new SnagRules(_config)).create();
|
||||
|
||||
writeln(
|
||||
"The Git repository has been initialized successfully: ",
|
||||
_config.git
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue