How To Compile Everything: Difference between revisions

no edit summary
imported>Paulproteus
imported>Paulproteus
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 9:
* Is it mostly Python?
** Is there a <code>setup.py</code>?
*** <code>pythonvirtualenv setup.py build<; bin/code>, <code>python setup.py installdevelop</code>, I think.
** Is there a <code>requirements.txt</code>?
*** Install the things there, maybe with pip or something??
Line 16:
* Is it mostly Ruby?
** Ask someone not me.
** Someone not me says:
*** Does it have a Gemfile, or a .gemspec? Run bundle.
*** Is it Rails? Run rake. (Did you bundle install?) Now do ./script/server (Rails 2.x) or rails server (Rails >=3). Consider making someone else host it - Heroku?
*** Is it not Rails? Does it have a Rakefile? Run rake.
*** No Rakefile? Are you sure this is ruby?
* Is it mostly Perl?
** Is there a <code>Makefile.PL</code> at the top level, and no <code>Makefile</code>?
Line 41 ⟶ 46:
* Is there a <code>build.xml</code>?
** Are there files with Android-y names?
*** Install the Android utilities, then run <code>android update project --path .</code> so that your paths to the Android SDK are set. You'll probably need to specify the full path to the <code>android</code> command, like <code>~/Downloads/adt-bundle-something/sdk/tools/android update project --path .</code>.
*** RunIf <code>antit tells you to use build</code>
*** Run <code>ant debug</code>, to make a debug build. (See the output of <code>ant</code> to see the list of options.)
*** You can try using <code>ant install</code> to run it on the currently-running simulator, or the currently-plugged in device. You might have more luck with the <code>adb</code> command directly, though.
** Run <code>ant</code>, which should either work or give you a list of options. <code>ant build</code> might be the option that you want.
* Is there a <code>pom.xml</code>?
** Curse at Maven a bit, then run <code>mvn compile</code> and hope for the best
Anonymous user