docset-sfdc/Makefile

85 lines
1.5 KiB
Makefile
Raw Normal View History

2020-07-01 01:06:35 +00:00
.PHONY: default test
default: all
2016-02-10 20:08:26 +00:00
2018-01-05 20:50:13 +00:00
.PHONY: all
all: package-apex package-vf package-lightning
2018-01-06 06:05:24 +00:00
2018-01-05 20:50:13 +00:00
.PHONY: run-apex
2020-07-01 01:06:35 +00:00
run-apex: clean-index
go run ./SFDashC/*.go apexcode
2016-02-10 20:08:26 +00:00
2018-01-05 20:50:13 +00:00
.PHONY: run-vf
2020-07-01 01:06:35 +00:00
run-vf: clean-index
go run ./SFDashC/*.go pages
2018-01-05 20:50:13 +00:00
.PHONY: run-lightning
2020-07-01 01:06:35 +00:00
run-lightning: clean-index
go run ./SFDashC/*.go lightning
2016-02-10 20:08:26 +00:00
.PHONY: package-apex
package-apex: run-apex
./scripts/package-docset.sh apexcode
2016-02-10 20:08:26 +00:00
2018-01-05 20:50:13 +00:00
.PHONY: package-vf
package-vf: run-vf
./scripts/package-docset.sh pages
2018-01-05 20:50:13 +00:00
.PHONY: package-lightning
package-lightning: run-lightning
./scripts/package-docset.sh lightning
.PHONY: archive-apex
archive-apex: package-apex
./scripts/archive-docset.sh apexcode
./archive/Salesforce_Apex: archive-apex
.PHONY: archive-vf
archive-vf: package-vf
./scripts/archive-docset.sh pages
./archive/Salesforce_Visualforce: archive-vf
.PHONY: archive-lightning
./archive-lightning: package-lightning
./scripts/archive-docset.sh lightning
./archive/Salesforce_Lightning: archive-lightning
.PHONY: archive-all
archive-all: archive-apex archive-vf # archive-lightning Lightning package isn't functional
./archive: archive-all
.PHONY: create-pr
create-pr: ./archive
./scripts/create-pr.sh
2016-02-10 20:08:26 +00:00
2018-01-05 20:50:13 +00:00
.PHONY: clean-index
clean-index:
2017-07-15 21:24:10 +00:00
rm -f ./build/docSet.dsidx
2018-01-05 20:50:13 +00:00
.PHONY: clean-package
clean-package:
2016-02-10 20:08:26 +00:00
rm -fr *.docset
2018-01-05 20:50:13 +00:00
.PHONY: clean-archive
clean-archive:
rm -f *.tgz
rm -fr ./archive
2018-01-05 20:50:13 +00:00
.PHONY: clean
clean: clean-index clean-package clean-archive
.PHONY: clean-build
clean-build:
rm -fr ./build
2018-01-06 06:05:24 +00:00
.PHONY: clean-pr
clean-pr:
rm -fr ./repotmp
2018-01-06 06:05:24 +00:00
.PHONY: clean-all
clean-all: clean clean-build clean-pr