Code Monkey home page Code Monkey logo

0install-win's Introduction

Directory structure

  • The directory src contains the Visual Studio solution with the actual source code.
  • The directory lib contains pre-compiled 3rd party libraries which are not available via NuGet.
  • The directory doc contains scripts for generating source code and developer documentation.
  • The directory modeling contains UML and other diagrams.
  • The directory installer contains scripts for creating a Windows installer.
  • The directory bundled contains a portable GnuPG distribution (Windows only) and an external solver (all platforms).
  • The directory build contains the results of various compilation processes. It is created on first usage. It can contain the following subdirectories:
    • Backend: Contains the libraries forming the Zero Install Backend.
    • Frontend: Contains the executables for the Zero Install Frontend plus all required libraries (including the Backend).
    • Tools: Contains the executables for Zero Install Tools such as the Feed Editor plus all required libraries (including the Backend).
    • Installer: Contains the generated installers.
    • Documentation: Contains the generated source code documentation.
  • The directory feeds contains local Zero Install feeds referencing the contents of the build directory. They can be registered with 0install add-feed in order to replace the online versions of Zero Install and its tools with your local builds.

VERSION and VERSION_UPDATER contain the version numbers used by build scripts. Keep in sync with the version numbers in src/AssemblyInfo.Global.cs and src/Updater/AssemblyInfo.Updater.cs!

Windows

The external solver (required) is not included in the repository. To get it run bundled/download-solver.ps1.

build.cmd will call build scripts in subdirectories to create a Zero Install for Windows installer in build/Frontend/Installer. Note: Please read installer/readme.txt aswell for information about required tools.

cleanup.cmd will delete any temporary files created by the build process or Visual Studio.

Linux

The external solver (required) is not included in the repository. To get it run bundled/download-solver.sh.

build.sh will perform a partial debug compilation using Mono's xbuild. A installer package will not be built.

cleanup.sh will delete any temporary files created by the xbuild build process.

test.sh will run the unit tests using the NUnit console runner. Note: You must perform a Debug build first (using MonoDevelop or src/build.sh) before you can run the unit tests.

Environment variables

  • ZEROINSTALL_PORTABLE_BASE: Set by the C# code to to inform the Python code of Portable mode.
  • ZEROINSTALL_EXTERNAL_FETCHER: Set by the C# code to make the Python code delegate downloading files back to the C# implementation.
  • ZEROINSTALL_EXTERNAL_STORE: Set by the C# code to make the Python code delegate extracting archives back to the C# implementation.

0install-win's People

Contributors

bastianeicher avatar denniske avatar simonsilvalauinger avatar timroes avatar

Watchers

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