Giter Club home page Giter Club logo

sublime-installer's Introduction

sublime-installer Build status

Shell script to install Sublime Text 2 and 3

This was built to make Travis CI integrations with Sublime Text easier. It is also part of the Sublime plugin tests framework.

$ ./install.sh 3
gpg: keyring `/tmp/tmpWy5NMR/secring.gpg' created
...
Setting up sublime-text-installer (3047-2~webupd8~3) ...
$ sublime_text --version
Sublime Text Build 3047

Usage

One-liner

sublime-installer takes one parameter which is the Sublime Text version. This can be 2 or 3.

curl --location https://rawgit.com/twolfson/sublime-installer/master/install.sh | sh -s VERSION

semver

To prevent changes from breaking your scripts, it is suggested you use a semver script over master.

curl --location https://rawgit.com/twolfson/sublime-installer/SEMVER/install.sh | sh -s VERSION
# e.g. curl --location https://rawgit.com/twolfson/sublime-installer/0.1.0/install.sh | sh -s 2

Travis integration

sublime-installer can be integrated with .travis.yml in the following manner:

sudo: required
dist: trusty
env:
  - SUBLIME_TEXT_VERSION="2"
  - SUBLIME_TEXT_VERSION="3"
install:
  - curl --location https://rawgit.com/twolfson/sublime-installer/SEMVER/install.sh | sh -s "$SUBLIME_TEXT_VERSION"

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Test via ./test/sublime-installer_test.sh.

Donating

Support this project and others by twolfson via gittip.

Support via Gittip

Unlicense

As of Oct 14 2013, Todd Wolfson has released this repository and its contents to the public domain.

It has been released under the UNLICENSE.

sublime-installer's People

Contributors

twolfson avatar

Stargazers

Tristin Davis avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

leohmoraes

sublime-installer's Issues

Support dev and nightly builds

Sublime Text's website says that only registered users can use nightly builds. However, I would be interested in seeing how far that claim extends. It would be nice to provide more options to test against:

./install.sh 2dev
./install.sh 2nightly
./install.sh 3dev

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.