Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Support templates to create formula #277

Conversation

viniciussousazup
Copy link
Contributor

@viniciussousazup viniciussousazup commented Jul 13, 2020

- What I did
support to templates on create formula

formula repo with templates: https://github.com/viniciussousazup/ritchie-formulas/tree/feature/templates

- How to verify it
set rit version to pr version:

git clone --single-branch --branch improvement/rit_create_template https://github.com/viniciussousazup/ritchie-cli /tmp/vinicius-rit-cli
cd /tmp/vinicius-rit-cli
make build
cp dist/linux/rit /usr/local/bin/ 

test rit create formula on terminal:

rit init
echo "{\"name\":\"vinicius-commons\", \"url\":\"https://github.com/viniciussousazup/ritchie-formulas\", \"version\":\"0.0.3\",\"priority\":100}" | rit add repo --stdin
rm -Rf ~/.rit/repos/commons/
mv ~/.rit/repos/vinicius-commons/ ~/.rit/repos/commons
rit create formula

- Description for the changelog
change rit create formula to use commons template folder

@viniciussousazup viniciussousazup marked this pull request as ready for review July 14, 2020 19:13
@viniciussousazup viniciussousazup changed the title Improvement/rit create template Improvement/rit create formula Jul 14, 2020
@sandokandias sandokandias added the 🔨 improvement Improvement in features label Jul 16, 2020
@sandokandias sandokandias changed the title Improvement/rit create formula Support templates to create formula Jul 16, 2020
@viniciussousazup viniciussousazup self-assigned this Jul 17, 2020
@viniciussousazup viniciussousazup merged commit 05511a8 into ZupIT:ritchie-2.0.0 Jul 17, 2020
@viniciussousazup viniciussousazup deleted the improvement/rit_create_template branch July 17, 2020 20:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 improvement Improvement in features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants