Skip to content

Commit

Permalink
Review 1 commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
davelcpanelnet committed Aug 14, 2024
1 parent aa738eb commit 28284b1
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: all test cover tags clean release build sanity cl
.PHONY: all test cover tags clean release build fatpack sanity cl

GIT ?= /usr/local/cpanel/3rdparty/bin/git
RELEASE_TAG ?= release
Expand All @@ -22,15 +22,17 @@ test: sanity
$(PERL_BIN)/yath test -j8 t/*.t

build:
curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm > /usr/sbin/cpm
chmod -v +x /usr/sbin/cpm
rm -f elevate-cpanel
$(MAKE) elevate-cpanel

fatpack:
curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm > ./cpm
chmod -v +x ./cpm
/scripts/update_local_rpm_versions --edit target_settings.perl-enhanced installed
cpm install --with-all --cpanfile t/cpanfile
cp -v $(PERL_LIB)/perl5/Test/PerlTidy.pm $(PERL_LIB)/Test/
./cpm install Test::PerlTidy
cp -v local/lib/perl5/Test/PerlTidy.pm $(PERL_LIB)/Test/ && rm -Rfv local/
/scripts/check_cpanel_pkgs --fix --long-list --no-digest
rm -f elevate-cpanel
/bin/bash t/cpanel-setup
$(MAKE) elevate-cpanel

cover:
/usr/bin/rm -rf cover_db
Expand Down Expand Up @@ -60,6 +62,7 @@ elevate-cpanel: $(wildcard lib/**/*) script/elevate-cpanel.PL

clean:
rm -f tags
rm -f ./cpm

release: build
$(GIT) tag -f $(RELEASE_TAG)
Expand Down

0 comments on commit 28284b1

Please sign in to comment.