~elementary-pantheon/pantheon-plugs/pantheon-plugs

« back to all changes in this revision

Viewing changes to plug/compile

  • Committer: Avi Romanoff
  • Date: 2011-05-09 20:52:03 UTC
  • Revision ID: aviromanoff@gmail.com-20110509205203-tfa40tnvw2oe3ep6
Initial setup

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# Basic build script
 
3
if [ -z $1 ]
 
4
  then
 
5
    echo -e "The first argument needs to be the name of the vala file \n(exactly as it is named) that you want to compile."
 
6
    exit
 
7
  else
 
8
    echo "Building $1"
 
9
    valac $1.vala Color.vala Utilities.vala ElementarySearchBar.vala SettingsPlug.vala log.vala --pkg gee-1.0 --pkg glib-2.0 --pkg gtk+-2.0 --pkg gconf-2.0 --pkg gdk-2.0 -o $1
 
10
    echo "Finished building $1"
 
11
fi