Giter Site home page Giter Site logo

projectbuild's Introduction

ProjectBuild

ProjectBuild is a Sublime Text 2 plugin for running Build command with its variants. Just choose Build System "Tools"->"Build System" (it can be standart or your own), save Sublime project in some root folder of your project, press "Shift+F10" so you can see quickpanel with Build System variants. Also you can use standart "F7", "Ctrl+B" and "Ctrl+Shift+B" key bindings. Now ProjectBuild does not support platform-specific data in the Build System. May be we fix this later.

Authors

Install

Download the latest source from GitHub and copy ProjectBuild folder to your Sublime Text 2 "Packages" directory.

Or clone the repository to your Sublime Text 2 "Packages" directory:

git clone https://github.com/Snegovikufa/ProjectBuild.git

The "Packages" directory is located at:

  • OS X:

      ~/Library/Application Support/Sublime Text 2/Packages/
    
  • Linux:

      ~/.config/sublime-text-2/Packages/
    
  • Windows:

      %APPDATA%/Sublime Text 2/Packages/
    

Features / Usage

  • Edit your key bindings "Preferences"->"Key Bindings - User" like this:

     [
       { "keys": ["shift+f10"], "command" : "project_build"}
     ]
    
  • Create your own Build System "Tools"->"Build System"->"New Build System", for example with Ant using - "AntBuildSystem", like this:

     {
         "cmd": ["ant.bat"],
         "working_dir": "${project_path}",
         "variants" : [
             {
                 "name": "Init",
                 "cmd": ["ant.bat", "init"]
             },
             {
                 "name": "Run",
                 "cmd": ["ant.bat", "trial"]
             }
         ]
     }
    

After that don't foget to choose this Build System in Sublime Text 2. Of course you can use anyone standart Build System.

  • Just save Sublime project in some root folder of your project «Project»->«Save Project As...». So automatically ".sublime-workspace" file must be created with json-content like this:

     ...
         "build-system" : "Packages/User/AntBuildSystem.sublime-build"
     ...
    
  • Press "Shift+F10" and select arguments for build.

Error list

Comment

projectbuild's People

Contributors

borisplus avatar snegovikufa 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.