2016-02-10 20:08:26 +00:00
|
|
|
default: complete
|
|
|
|
|
2016-07-27 00:21:56 +00:00
|
|
|
complete: run-combined package-combined clean-index run-apex package-apex clean-index run-vf package-vf
|
2016-02-10 20:08:26 +00:00
|
|
|
|
|
|
|
run-apex:
|
|
|
|
(cd SFDashC && go run *.go --silent apexcode)
|
|
|
|
|
|
|
|
run-vf:
|
|
|
|
(cd SFDashC && go run *.go --silent pages)
|
|
|
|
|
|
|
|
run-combined:
|
|
|
|
(cd SFDashC && go run *.go --silent apexcode pages)
|
|
|
|
|
|
|
|
package-apex:
|
|
|
|
$(eval type = Apex)
|
|
|
|
$(eval package = Salesforce $(type).docset)
|
|
|
|
mkdir -p "$(package)/Contents/Resources/Documents"
|
2016-07-27 00:21:56 +00:00
|
|
|
cp -r SFDashC/atlas.en-us.apexcode.meta "$(package)/Contents/Resources/Documents/"
|
2016-02-10 20:08:26 +00:00
|
|
|
cp SFDashC/*.html "$(package)/Contents/Resources/Documents/"
|
2016-07-27 00:21:56 +00:00
|
|
|
cp SFDashC/*.css "$(package)/Contents/Resources/Documents/"
|
2016-02-10 20:08:26 +00:00
|
|
|
cp SFDashC/Info-$(type).plist "$(package)/Contents/Info.plist"
|
|
|
|
cp SFDashC/docSet.dsidx "$(package)/Contents/Resources/"
|
|
|
|
|
|
|
|
package-vf:
|
|
|
|
$(eval type = Pages)
|
|
|
|
$(eval package = Salesforce $(type).docset)
|
|
|
|
mkdir -p "$(package)/Contents/Resources/Documents"
|
2016-07-27 00:21:56 +00:00
|
|
|
cp -r SFDashC/atlas.en-us.pages.meta "$(package)/Contents/Resources/Documents/"
|
2016-02-10 20:08:26 +00:00
|
|
|
cp SFDashC/*.html "$(package)/Contents/Resources/Documents/"
|
2016-07-27 00:21:56 +00:00
|
|
|
cp SFDashC/*.css "$(package)/Contents/Resources/Documents/"
|
2016-02-10 20:08:26 +00:00
|
|
|
cp SFDashC/Info-$(type).plist "$(package)/Contents/Info.plist"
|
|
|
|
cp SFDashC/docSet.dsidx "$(package)/Contents/Resources/"
|
|
|
|
|
|
|
|
package-combined:
|
|
|
|
$(eval type = Combined)
|
|
|
|
$(eval package = Salesforce $(type).docset)
|
|
|
|
mkdir -p "$(package)/Contents/Resources/Documents"
|
|
|
|
cp -r SFDashC/*.meta "$(package)/Contents/Resources/Documents/"
|
|
|
|
cp SFDashC/*.html "$(package)/Contents/Resources/Documents/"
|
2016-07-27 00:21:56 +00:00
|
|
|
cp SFDashC/*.css "$(package)/Contents/Resources/Documents/"
|
2016-02-10 20:08:26 +00:00
|
|
|
cp SFDashC/Info-$(type).plist "$(package)/Contents/Info.plist"
|
|
|
|
cp SFDashC/docSet.dsidx "$(package)/Contents/Resources/"
|
|
|
|
|
2016-07-27 00:21:56 +00:00
|
|
|
clean-index:
|
2016-02-10 20:08:26 +00:00
|
|
|
rm -f SFDashC/docSet.dsidx
|
2016-07-27 00:21:56 +00:00
|
|
|
|
|
|
|
clean: clean-index
|
|
|
|
rm -fr SFDashC/*.meta
|
|
|
|
rm -f SFDashC/*.css
|
2016-02-10 20:08:26 +00:00
|
|
|
rm -fr *.docset
|