Skip to content

Commit c9d222d

Browse files
committed
monorepo setup
1 parent cc0f285 commit c9d222d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,5 @@ desktop.ini
9494
/config/application.yml
9595

9696
example-1
97+
monorepo
98+
specs

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.PHONY: install build test setup-monorepo update-monorepo
2+
13
install:
24
bundle install
35

@@ -6,3 +8,15 @@ build:
68

79
test:
810
bundle exec rspec spec/
11+
12+
setup-monorepo:
13+
mkdir -p monorepo
14+
if [ ! -d "monorepo/.git" ]; then \
15+
git clone git@github.com:featurevisor/featurevisor.git monorepo; \
16+
else \
17+
(cd monorepo && git fetch origin main && git checkout main && git pull origin main); \
18+
fi
19+
(cd monorepo && make install && make build)
20+
21+
update-monorepo:
22+
(cd monorepo && git pull origin main)

0 commit comments

Comments
 (0)