From fd2fb7e7b0e5881eb51b6b39efd8de23b6366c68 Mon Sep 17 00:00:00 2001 From: Nat! Date: Wed, 29 May 2019 00:12:55 +0200 Subject: [PATCH] migrate to new mulle-project --- .gitignore | 10 +++++ .mulle/etc/project/formula-info.sh | 29 ++++++++++++ .mulle/etc/project/generate-formula.sh | 45 +++++++++++++++++++ .mulle/etc/project/publisher-info.sh | 13 ++++++ .mulle/etc/project/version | 1 + .mulle/etc/project/version-info.sh | 8 ++++ .mulle/share/sde/extension | 1 + .../share/sde/version/mulle-sde/mulle-project | 1 + RELEASENOTES.md | 10 +++++ .../project.pbxproj | 4 +- 10 files changed, 120 insertions(+), 2 deletions(-) create mode 100755 .mulle/etc/project/formula-info.sh create mode 100755 .mulle/etc/project/generate-formula.sh create mode 100755 .mulle/etc/project/publisher-info.sh create mode 100644 .mulle/etc/project/version create mode 100755 .mulle/etc/project/version-info.sh create mode 100644 .mulle/share/sde/version/mulle-sde/mulle-project diff --git a/.gitignore b/.gitignore index 8970fe0..3aaf6fa 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,8 @@ mulle-project/publisher-info.sh tmp.* *.bak .gitignore +*.sublime-workspace + # ### > generated by mulle-sde (extensions/mulle-sde/sde/init) @@ -40,3 +42,11 @@ test*/**/*.exe # ### < generated by mulle-sde (extensions/mulle-sde/sde/init) +# +# ignore for now +# +test/ +src/PBXSupport/ +mulle-project/ +generate-brew-formula.sh +.mullex/ \ No newline at end of file diff --git a/.mulle/etc/project/formula-info.sh b/.mulle/etc/project/formula-info.sh new file mode 100755 index 0000000..6b9a855 --- /dev/null +++ b/.mulle/etc/project/formula-info.sh @@ -0,0 +1,29 @@ +# -- Formula Info -- +# If you don't have this file, there will be no homebrew +# formula operations. +# +PROJECT="mulle-xcode-to-cmake" # your project/repository name +DESC="🎭 Convert Xcode projects to cmake CMakeLists.txt " +LANGUAGE="objc" # c,cpp, objc, bash ... +# NAME="${PROJECT}" # formula filename without .rb extension + +# +# Specify needed homebrew packages by name as you would when saying +# `brew install`. +# +# Use the ${DEPENDENCY_TAP} prefix for non-official dependencies. +# DEPENDENCIES and BUILD_DEPENDENCIES will be evaled later! +# So keep them single quoted. +# +# DEPENDENCIES='${DEPENDENCY_TAP}mulle-concurrent +# libpng +# ' + +# +# Build via mulle-build. If you don't like this +# edit bin/release.sh. Need to specify mulle-build dependencies +# so that brew picks up the internal path! +# +#BUILD_DEPENDENCIES='${BOOTSTRAP_TAP}mulle-build +#${BOOTSTRAP_TAP}mulle-bootstrap +#' # cmake may be useful to add diff --git a/.mulle/etc/project/generate-formula.sh b/.mulle/etc/project/generate-formula.sh new file mode 100755 index 0000000..3c30acb --- /dev/null +++ b/.mulle/etc/project/generate-formula.sh @@ -0,0 +1,45 @@ +# +# For documentation and help see: +# https://github.com/mulle-nat/mulle-homebrew +# +# + +####### +# If you are using mulle-build, you don't hafta change anything +####### + +# +# Generate your `def install` `test do` lines here. echo them to stdout. +# +generate_brew_formula_build() +{ + local project="$1" + local name="$2" + local version="$3" + + cat <