Skip to content

Commit

Permalink
migrate to new mulle-project
Browse files Browse the repository at this point in the history
  • Loading branch information
mulle-nat committed May 28, 2019
1 parent f226bdb commit fd2fb7e
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ mulle-project/publisher-info.sh
tmp.*
*.bak
.gitignore
*.sublime-workspace


# ### > generated by mulle-sde (extensions/mulle-sde/sde/init)

Expand All @@ -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/
29 changes: 29 additions & 0 deletions .mulle/etc/project/formula-info.sh
Original file line number Diff line number Diff line change
@@ -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
45 changes: 45 additions & 0 deletions .mulle/etc/project/generate-formula.sh
Original file line number Diff line number Diff line change
@@ -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 <<EOF
def install
system "xcodebuild", "DSTROOT=#{prefix}", "INSTALL_PATH=/bin", "install"
end
EOF
}


#
# If you are unhappy with the formula in general, then change
# this function. Print your formula to stdout.
#
generate_brew_formula()
{
# local project="$1"
# local name="$2"
# local version="$3"
# local dependencies="$4"
# local builddependencies="$5"
# local homepage="$6"
# local desc="$7"
# local archiveurl="$8"

_generate_brew_formula "$@"
}

13 changes: 13 additions & 0 deletions .mulle/etc/project/publisher-info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PUBLISHER="mulle-nat"
PUBLISHER_TAP="mulle-kybernetik/software"
PUBLISHER_FULLNAME="Mulle kybernetiK"
PUBLISHER_EMAIL="Nat! <nat@mulle-kybernetik.de>"
PUBLISHER_DOMAIN="mulle-kybernetik.com"
#PUBLISHER_LOGO="mulle-objc-logo-opaque-48x48.txt"
PUBLISHER_LOGO="mulle-logo-48x48.txt"

#
# derivable stuff
#
PUBLISHER_PUBLICKEY_URL="http://www.${PUBLISHER_DOMAIN}/dists/admin-pub.asc"
PUBLISHER_DEBIAN_URL="http://www.${PUBLISHER_DOMAIN}"
1 change: 1 addition & 0 deletions .mulle/etc/project/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.6
8 changes: 8 additions & 0 deletions .mulle/etc/project/version-info.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# -- Version Info --
#
# Keep these commented out, if the automatic detection works well
# enough for you. If you don't have this file, there will be
# not git operations.
#
VERSIONFILE=mulle-xcode-to-cmake.xcodeproj/project.pbxproj
VERSIONNAME=CURRENT_PROJECT_VERSION
1 change: 1 addition & 0 deletions .mulle/share/sde/extension
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
foundation/legacy-developer;meta
foundation/legacy;runtime
mulle-sde/mulle-project;extra
1 change: 1 addition & 0 deletions .mulle/share/sde/version/mulle-sde/mulle-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
10 changes: 10 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.8.0

* add a couple of suggestions and fix ideas by @saxbophone
* change boilerplate to support mulle-objc legacy style development
* added GNUSTEp code by @RJVB and @ElMostafaIdrassi
* boilerplate code migrated off mulle-bootstrap unto mulle-sde
* migrated project to mulle-sde
* remove mulle-configuration code since it is obsolete


### 0.7.1

* Modernized mulle-project packaging
Expand Down
4 changes: 2 additions & 2 deletions mulle-xcode-to-cmake.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
1DEB927908733DD40010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CURRENT_PROJECT_VERSION = 0.7.1;
CURRENT_PROJECT_VERSION = 0.8.0;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = "$(CURRENT_PROJECT_VERSION)";
DYLIB_CURRENT_VERSION = "${CURRENT_PROJECT_VERSION}";
Expand All @@ -373,7 +373,7 @@
1DEB927A08733DD40010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CURRENT_PROJECT_VERSION = 0.7.1;
CURRENT_PROJECT_VERSION = 0.8.0;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = "$(CURRENT_PROJECT_VERSION)";
DYLIB_CURRENT_VERSION = "${CURRENT_PROJECT_VERSION}";
Expand Down

0 comments on commit fd2fb7e

Please sign in to comment.