Skip to content

Make a distribution

Sebastian Gutsche edited this page Oct 29, 2015 · 3 revisions

How to make a distribution

This page is about how to upload the latest version of the CAP project to GAP.

Initial setup

The initial setup creates the gh-pages folder and branch on your system

  1. Make a clone of the gh-pages branch of CAP project in the gh-pages folder of you CAP project repository

    git clone https://github.com/homalg-project/CAP_project.git gh-pages
    
  2. Change into the homepage folder

    cd gh-pages
    
  3. Checkout the github pages branch.

    git checkout -b gh-pages origin/gh-pages
    
  4. Add the remote name homalg

    git remote add homalg https://github.com/homalg-project/CAP_project.git
    
  5. Set the upstream for the gh-pages branch

    git push --set-upstream homalg gh-pages
    

Make a distribution

To make a distribution, go into the CAP_project folder and type the following

./make_dist_for_cap.sh

Add new packages to the distribution

Simply add the name of the package and subfolder of CAP_project to the list in make_dist_for_cap.sh