2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: default
|
2017-07-15 13:36:28 -07:00
|
|
|
default: all
|
2016-02-10 12:08:26 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: all
|
|
|
|
all: package-apex package-vf package-lightning
|
2017-07-15 13:36:28 -07:00
|
|
|
|
2018-01-05 22:05:24 -08:00
|
|
|
vendor:
|
2017-05-05 14:32:33 -07:00
|
|
|
dep ensure
|
2018-01-05 22:05:24 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: run-apex
|
2018-01-06 09:04:44 -08:00
|
|
|
run-apex: clean-index vendor
|
|
|
|
go run ./SFDashC/*.go apexcode
|
2016-02-10 12:08:26 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: run-vf
|
2018-01-06 09:04:44 -08:00
|
|
|
run-vf: clean-index vendor
|
|
|
|
go run ./SFDashC/*.go pages
|
2018-01-05 09:57:11 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: run-lightning
|
2018-01-06 09:04:44 -08:00
|
|
|
run-lightning: clean-index vendor
|
|
|
|
go run ./SFDashC/*.go lightning
|
2016-02-10 12:08:26 -08:00
|
|
|
|
2018-01-06 09:04:44 -08:00
|
|
|
.PHONY: package-apex
|
2017-07-15 13:36:28 -07:00
|
|
|
package-apex: run-apex
|
2018-01-06 09:04:44 -08:00
|
|
|
./package-docset.sh apexcode
|
2016-02-10 12:08:26 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: package-vf
|
2017-07-15 13:36:28 -07:00
|
|
|
package-vf: run-vf
|
2018-01-06 09:04:44 -08:00
|
|
|
./package-docset.sh pages
|
2018-01-05 09:57:11 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: package-lightning
|
2018-01-05 09:57:11 -08:00
|
|
|
package-lightning: run-lightning
|
2018-01-06 09:04:44 -08:00
|
|
|
./package-docset.sh lightning
|
|
|
|
|
|
|
|
.PHONY: archive-apex
|
|
|
|
archive-apex: package-apex
|
|
|
|
./archive-docset.sh apexcode
|
|
|
|
|
|
|
|
.PHONY: archive-vf
|
|
|
|
archive-vf: package-vf
|
|
|
|
./archive-docset.sh pages
|
|
|
|
|
|
|
|
.PHONY: archive-lightning
|
|
|
|
archive-lightning: package-lightning
|
|
|
|
./archive-docset.sh lightning
|
2016-07-26 18:27:01 -07:00
|
|
|
|
2018-01-06 09:04:44 -08:00
|
|
|
.PHONY: archive-all
|
|
|
|
archive-all: archive-apex archive-vf archive-lightning
|
2016-02-10 12:08:26 -08:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: clean-index
|
2016-07-26 17:21:56 -07:00
|
|
|
clean-index:
|
2017-07-15 14:24:10 -07:00
|
|
|
rm -f ./build/docSet.dsidx
|
2016-07-26 17:21:56 -07:00
|
|
|
|
2018-01-05 12:50:13 -08:00
|
|
|
.PHONY: clean-package
|
|
|
|
clean-package:
|
2016-02-10 12:08:26 -08:00
|
|
|
rm -fr *.docset
|
2018-01-05 12:50:13 -08:00
|
|
|
|
|
|
|
.PHONY: clean-archive
|
|
|
|
clean-archive:
|
2016-07-26 18:27:01 -07:00
|
|
|
rm -f *.tgz
|
2018-01-06 09:04:44 -08:00
|
|
|
rm -fr ./archive
|
2018-01-05 12:50:13 -08:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean: clean-index clean-package clean-archive
|
|
|
|
|
|
|
|
.PHONY: clean-build
|
|
|
|
clean-build:
|
|
|
|
rm -fr ./build
|
2018-01-05 22:05:24 -08:00
|
|
|
|
|
|
|
.PHONY: clean-vendor
|
|
|
|
clean-vendor:
|
|
|
|
rm -fr ./vendor
|
|
|
|
|
|
|
|
.PHONY: clean-all
|
|
|
|
clean-all: clean clean-build clean-vendor
|