-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PMM-11231 Add build & cleanup makefile
- Loading branch information
1 parent
b59a3d6
commit 6c5c039
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,8 @@ export PMM_RELEASE_BRANCH="" | |
cd src/github.com/percona/pmm/managed | ||
make release | ||
|
||
cd src/github.com/percona/pmm/ui | ||
make release | ||
|
||
%install | ||
install -d -p %{buildroot}%{_bindir} | ||
|
@@ -54,6 +56,7 @@ install -p -m 0755 bin/pmm-managed-starlark %{buildroot}%{_sbindir}/pmm-managed- | |
cd src/github.com/percona/pmm | ||
cp -pa ./api/swagger %{buildroot}%{_datadir}/%{name} | ||
|
||
cp -pa ./ui/dist %{_datadir}/pmm-ui | ||
|
||
%files | ||
%license src/%{provider}/LICENSE | ||
|
@@ -65,6 +68,9 @@ cp -pa ./api/swagger %{buildroot}%{_datadir}/%{name} | |
|
||
|
||
%changelog | ||
* Fri Mar 22 2024 Matej Kubinec <[email protected]> - 3.0.0-1 | ||
- PMM-10036 migrate to monorepo | ||
|
||
* Thu Jul 28 2022 Alex Tymchuk <[email protected]> - 2.30.0-1 | ||
- PMM-10036 migrate to monorepo | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
.PHONY: dev | ||
dev: | ||
yarn dev | ||
|
||
.PHONY: ci | ||
ci: setup lint test build | ||
|
||
.PHONY: format | ||
format: setup | ||
yarn format | ||
|
||
.PHONY: lints | ||
lint: setup | ||
yarn lint | ||
|
||
.PHONY: test | ||
test: setup | ||
yarn test | ||
|
||
.PHONY: setup | ||
setup: | ||
yarn install --frozen-lockfile | ||
|
||
.PHONY: build | ||
build: setup | ||
yarn build | ||
|
||
.PHONY: release | ||
release: build | ||
|
||
clean: | ||
rm -r dist |