Sha256: 9e360d10aea16beef9821f6658120b4fae6a2b115e5b0bc343425167e8444eca

Contents?: true

Size: 668 Bytes

Versions: 9

Compression:

Stored size: 668 Bytes

Contents

ifeq "$(PLATFORM)" ""
PLATFORM := $(shell uname)
endif

ifeq "$(PLATFORM)" "Darwin"
BUILDCOMMAND := "swift build -Xcc -fblocks -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib"
else
BUILDCOMMAND := "swift build -Xcc -fblocks -Xlinker -rpath -Xlinker .build/debug"
endif

fetch:
	swift package fetch
	find Packages/ -type d -name Tests | xargs rm -rf
clean:
	@echo --- Invoking swift build --clean
	swift build --clean
build: clean fetch
	@echo --- Building package
	"$(BUILDCOMMAND)"
test: build
	@echo --- Running tests
	swift test
run: build
	@echo --- Starting server
	.build/debug/<%= application_name %>App ./Sources/<%= application_name %>App/config.json

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
minke-generator-swift-0.5 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.4 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.2.2 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.2.1 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.2.0 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.1.8 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.1.7 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.1.6 lib/generators/swift/scaffold/src/Makefile.erb
minke-generator-swift-0.1.4 lib/generators/swift/scaffold/src/Makefile.erb