Skip to content

Commit 0366623

Browse files
committed
move nouveau back to extra/
1 parent 4ca05a6 commit 0366623

77 files changed

Lines changed: 106 additions & 106 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include version.mk
1919
REBAR?=$(CURDIR)/bin/rebar
2020
REBAR3?=$(CURDIR)/bin/rebar3
2121
ERLFMT?=$(CURDIR)/bin/erlfmt
22-
GRADLE?=$(CURDIR)/nouveau/gradlew
22+
GRADLE?=$(CURDIR)/extra/nouveau/gradlew
2323

2424
# Handle the following scenarios:
2525
# 1. When building from a tarball, use version.mk.
@@ -106,7 +106,7 @@ endif
106106

107107
.PHONY: all
108108
# target: all - Build everything
109-
all: couch-core fauxton docs escriptize nouveau
109+
all: couch-core fauxton docs escriptize extra/nouveau
110110

111111

112112
.PHONY: help
@@ -461,8 +461,8 @@ endif
461461

462462
ifeq ($(with_nouveau), true)
463463
@mkdir rel/couchdb/nouveau
464-
@cd nouveau && $(GRADLE) installDist
465-
@cp -R nouveau/build/install/nouveau rel/couchdb
464+
@cd extra/nouveau && $(GRADLE) installDist
465+
@cp -R extra/nouveau/build/install/nouveau rel/couchdb
466466
endif
467467

468468
@echo "... done"
@@ -511,7 +511,7 @@ clean:
511511
@rm -rf src/couch_dist/certs/out
512512
@rm -rf src/docs/build src/docs/.venv
513513
ifeq ($(with_nouveau), true)
514-
@cd nouveau && $(GRADLE) clean
514+
@cd extra/nouveau && $(GRADLE) clean
515515
endif
516516

517517

@@ -576,28 +576,28 @@ derived:
576576
# Nouveau
577577
################################################################################
578578

579-
.PHONY: nouveau
579+
.PHONY: extra/nouveau
580580
# target: nouveau - Build nouveau
581-
nouveau:
581+
extra/nouveau:
582582
ifeq ($(with_nouveau), true)
583-
@cd nouveau && $(GRADLE) spotlessApply
584-
@cd nouveau && $(GRADLE) build -x test
583+
@cd extra/nouveau && $(GRADLE) spotlessApply
584+
@cd extra/nouveau && $(GRADLE) build -x test
585585
endif
586586

587587
.PHONY: nouveau-test
588588
# target: nouveau-test - Run nouveau tests
589589
nouveau-test: nouveau-test-gradle nouveau-test-elixir
590590

591591
.PHONY: nouveau-test-gradle
592-
nouveau-test-gradle: couch-core nouveau
592+
nouveau-test-gradle: couch-core extra/nouveau
593593
ifeq ($(with_nouveau), true)
594-
@cd nouveau && $(GRADLE) test --info --rerun
594+
@cd extra/nouveau && $(GRADLE) test --info --rerun
595595
endif
596596

597597
.PHONY: nouveau-test-elixir
598598
nouveau-test-elixir: export MIX_ENV=integration
599599
nouveau-test-elixir: elixir-init devclean
600-
nouveau-test-elixir: couch-core nouveau
600+
nouveau-test-elixir: couch-core extra/nouveau
601601
ifeq ($(with_nouveau), true)
602602
@dev/run "$(TEST_OPTS)" -n 1 -q -a adm:pass --with-nouveau \
603603
--locald-config test/config/test-config.ini \

dev/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ def boot_nouveau(ctx):
546546
config = os.path.join(ctx["devdir"], "lib", "nouveau.yaml")
547547
gradle = "gradlew.bat" if os.name == "nt" else "gradlew"
548548
cmd = [
549-
os.path.join(ctx["rootdir"], "nouveau", gradle),
549+
os.path.join(ctx["rootdir"], "extra", "nouveau", gradle),
550550
"run",
551551
"--args",
552552
f"server '{config}'",
@@ -555,7 +555,7 @@ def boot_nouveau(ctx):
555555
log = open(logfname, "w")
556556
return sp.Popen(
557557
cmd,
558-
cwd=os.path.join(ctx["rootdir"], "nouveau"),
558+
cwd=os.path.join(ctx["rootdir"], "extra", "nouveau"),
559559
stdin=sp.PIPE,
560560
stdout=log,
561561
stderr=sp.STDOUT,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)