Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 32 lines (21 sloc) 753 Bytes
# This script should be run to generate the Xcode project.
# Update Version.swift
# Generate xcodeproj
swift package generate-xcodeproj
# Set header template.
sed s/CURRENTYEAR/`date +%Y`/g > appicon-generator.xcodeproj/xcshareddata/IDETemplateMacros.plist <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">
// Copyright © CURRENTYEAR Simon Kågedal Reimer. See LICENSE.
# Add build phase
swift run xcodeproj-modify ./appicon-generator.xcodeproj add-run-script-phase appicon-generator ./