# Artistic Style Source Repositories

## Git

The Git repository is located at Gitlab. This repo is used for day to day development. The SVN repo mentioned below is kept up to date regularly.

## Subversion

The SVN repository is located at SourceForge. The intermediate source files have not been through the extensive system tests that are done before each release. Use reasonable precautions when using source code from the repository.

The current version is in the "trunk/AStyle" branch of the repository. The file and directory names are case sensitive.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyle" "$HOME/astyle"

You can also browse the subversion repository. The current development release is in the "trunk" directory. This gives you a view into the current status of the project's code without actually checking-out the files.

### Other Projects

Two additional Artistic Style projects are available in the repository. They are not maintained for the general public, but are available if you want them. You may have to create your own project files and scripts to use them.

All projects, and any additional source required, should be installed in the same top level folder. A sample file directory containing ALL the projects should look as follows. The project dependencies are described below.

        Projects
            AStyle
            AStyleDev
            AStyleTest
            AStyleWx
            AStyleWxTest

#### AStyleDev

AStyleDev contains the development files that are made available in the "Developer Information" section. Refer to that section for more information.

These projects require the Artistic Style project to compile.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleDev" "$HOME/astyledev"

#### AStyleTest

AStyleTest contains the unit test programs and test scripts for Artistic Style. There are over 2500 tests in the main test program.

This project requires the Artistic Style project to compile. In addition, the test program requires Google Mock and Google Test described below.

The main test project, AStyleTest, can be run in Visual Studio using the graphical Visual Studio Test Explorer. The procedure is described below.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleTest" "$HOME/astyletest"

#### AStyleWx

AStyleWx contains a GUI test program for Artistic Style that uses the wxWidgets C++ library.

This project requires the Artistic Style project to compile. Files for download are made available in the Artistic Style Wx subproject. The download contains all files needed to compile the project. The subproject can be accessed from the Artistic Style SourceForge pages.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleWx" "$HOME/astylewx"

#### AStyleWxTest

AStyleTest contains the unit test programs and test scripts for AStyleWx.

This project requires the AStyleWx project to compile. In addition, the test program requires Google Mock and Google Test described below.

A sample checkout is:
svn checkout "https://svn.code.sf.net/p/astyle/code/trunk/AStyleWxTest" "$HOME/astylewxtest"