Giter Site home page Giter Site logo

aaloul / maketi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbankier/maketi

0.0 1.0 0.0 191 KB

A make file for building your titanium mobile applications from the command line

Home Page: http://blog.mattapperson.com

Makefile 18.15% Shell 81.85%

maketi's Introduction

MakeTi

How to start the project

Add the files from this repo to the root dir of your project and type one of the following in a terminal:

$ make run

* To change the SDK version, change the SDK version in your tiapp.xml.

$ make clean && make run

To run the application on Android, type:

$ make clean && make run

to change platform, simply run:

$ make run platform=andorid

OR

$ make run platform=ipad

The default platform is iPhone

* You just have to use “make clean” before the run command if you change the device type. If you’re using the same device between executions, it’s not necessary to execute “make clean” because it will force Titanium to re-compile the entire project again, which is considerably slow.

How to run on your device

To run your app on an iOS device you must simply add your development cert to /certs/development.mobileprovision Creating the crets dir if needed.

After that, simply run

$ make deploy

Build and deploy directly to TestFlight

Simply run

$ make deploy testflight=true

Now before you do this, you will need to add 2 lines to your tiapp.xml file
You can also have the app auto distributed by setting a comma seperated list of distrabution lists

I also added an optional notes feature like so:

$ make deploy testflight=true notes=“This is Beta 3 on my app”

That note will then be deliverd in the email to your beta testers informing them of the new app being ready to download.

* Due to restrictions in the TestFlight API… if you dont set tf_dist in your Tiapp.xml… users wont get an email letting them know they can download till you go onto the testflight site and check them as users of the latest beta.

How to install the Textmate bundle

1. Double-click on the MakeTi.bundle pack to install the bundle in Textmate.
2. Edit the ANDROID_SDK_PATH variablie in Textmate to the correct path of the Android SDK.
To do this go to Preferences→Advanced→Shell variables add a new variable named ANDROID_SDK_PATH and set the path to the location of your Android SDK. (in my case is /android-sdk-mac_x86).
3. Open the whole project in Textmate.
B. Cmd+B within a file should open an option dialog letting you choose what to build for.

Simulator only for now

How to install the SublimeText2 package

1. Copy the MakeTi.sublime-package file to _~/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages/
2. Restart SublimeText2.
3. Edit the ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/MakeTi/MakeTi.sublime-settings file to the correct path for the Android SDK.
4. Restart SublimeText2.
5. Open the whole project in SublimeText2.
6. Go to menu Tools→Build System and select MakeTi.
7. Cmd+B within a file should open an option dialog letting you choose what to build for.

Simulator only for now

To-Do

- Deploy to AppStore / Marketplace

- Build for device (Android)

- Don’t ask if I want to replace the existing version of the app in iTunes (iOS only)

- Dynamic build plugins

- Update the Textmate and SublimeText2 plugins for the new build options MakeTi offers (deploy to device and to testflight).

License

Licensed under Apache Public License (Version 2).

Originally Developed by Guilherme Chapiewski. Extended and edited by Matt Apperson.

maketi's People

Contributors

mattapperson avatar rborn avatar

Watchers

Ahmad Aloul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.