Update to gomod

This commit is contained in:
ViViDboarder 2020-06-30 18:06:35 -07:00
parent 99e8034f02
commit cd6afe7256
3 changed files with 29 additions and 11 deletions

View File

@ -1,22 +1,20 @@
.PHONY: default .PHONY: default test
default: all default: all
.PHONY: all .PHONY: all
all: package-apex package-vf package-lightning all: package-apex package-vf package-lightning
vendor:
dep ensure
.PHONY: run-apex .PHONY: run-apex
run-apex: clean-index vendor run-apex: clean-index
go run ./SFDashC/*.go apexcode go run ./SFDashC/*.go apexcode
.PHONY: run-vf .PHONY: run-vf
run-vf: clean-index vendor run-vf: clean-index
go run ./SFDashC/*.go pages go run ./SFDashC/*.go pages
.PHONY: run-lightning .PHONY: run-lightning
run-lightning: clean-index vendor run-lightning: clean-index
go run ./SFDashC/*.go lightning go run ./SFDashC/*.go lightning
.PHONY: package-apex .PHONY: package-apex
@ -66,9 +64,5 @@ clean: clean-index clean-package clean-archive
clean-build: clean-build:
rm -fr ./build rm -fr ./build
.PHONY: clean-vendor
clean-vendor:
rm -fr ./vendor
.PHONY: clean-all .PHONY: clean-all
clean-all: clean clean-build clean-vendor clean-all: clean clean-build

12
go.mod Normal file
View File

@ -0,0 +1,12 @@
module github.com/vividboarder/docset-sfdc/SFDashC
go 1.14
require (
github.com/coopernurse/gorp v1.6.2-0.20141208005834-236e1383df4c
github.com/go-sql-driver/mysql v1.5.0 // indirect
github.com/lib/pq v1.7.0 // indirect
github.com/mattn/go-sqlite3 v1.2.1-0.20170407154627-cf7286f069c3
github.com/ziutek/mymysql v1.5.4 // indirect
golang.org/x/net v0.0.0-20170503120255-feeb485667d1 // indirect
)

12
go.sum Normal file
View File

@ -0,0 +1,12 @@
github.com/coopernurse/gorp v1.6.2-0.20141208005834-236e1383df4c h1:ZPZPlyzvrXG672C6jiMkDqIQXK6ekn7rFAxpTU33Tt4=
github.com/coopernurse/gorp v1.6.2-0.20141208005834-236e1383df4c/go.mod h1:wkfIkQktc4uuBo0kLNE8tMMN9okbsTa2orfZvBaL9F8=
github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
github.com/lib/pq v1.7.0 h1:h93mCPfUSkaul3Ka/VG8uZdmW1uMHDGxzu0NWHuJmHY=
github.com/lib/pq v1.7.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/mattn/go-sqlite3 v1.2.1-0.20170407154627-cf7286f069c3 h1:e5KQ62MmaYQ0RqL4So5ssEDgNuVoXed4lfuhLBxsVWI=
github.com/mattn/go-sqlite3 v1.2.1-0.20170407154627-cf7286f069c3/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/ziutek/mymysql v1.5.4 h1:GB0qdRGsTwQSBVYuVShFBKaXSnSnYYC2d9knnE1LHFs=
github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0=
golang.org/x/net v0.0.0-20170503120255-feeb485667d1 h1:ED1ux2Gd2RrNOJ0GyENgOJEhK1yAo6Xx/+CNrzZlcig=
golang.org/x/net v0.0.0-20170503120255-feeb485667d1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=