Giter Site home page Giter Site logo

ikapelyukhin / libyui-rake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libyui/libyui-rake

0.0 0.0 0.0 38 KB

Rake tasks to help with uniform handling of libyui related projects

License: GNU Lesser General Public License v2.1

Ruby 100.00%

libyui-rake's Introduction

Libyui::Rake

Build Status

Rake tasks to help with uniform handling of libyui related projects. It provides setup for packaging tasks and add some additional tasks.

Quick Start

Create a Rakefile with this content:

  require "libyui/rake"

Packaging tasks setup

Libyui::Tasks provides a method to change packaging tasks configuration. As it's just a proxy for ::Packaging.configuration, the same options will be available.

  Libyui::Tasks.configuration do |conf|
    conf.obs_api = "https://api.opensuse.org/"
    conf.obs_project = "Devel:Libyui:Head"
  end

To avoid duplication, Libyui::Tasks provides a method to set packaging tasks configuration choosing from a set of targets definitions. For example, if you want to submit to SLE12, you can do:

  Libyui::Tasks.submit_to(:sle12)

This method can receive, as a second parameter, the path to your own definitions if needed.

If submit_to is not explicitly used, it will be read from the environment variable LIBYUI_SUBMIT. If that variable is not set, the variable YAST_SUBMIT will be used instead. Finally, if none of the special environment variables is set, :factory will be used as target.

Additional tasks

version:check

Check that version numbers are in sync.

version:bump

Increase the last part of version in spec and CMake files.

test

Pretend to run the test suite.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

This package is licensed under LGPL-2.1.

libyui-rake's People

Contributors

ancorgs avatar imobachgs avatar jreidinger avatar lslezak avatar mvidner avatar schubi2 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.