Skip to content

MIND-Tools/mind-tools-release-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

mind-tools-release-scripts

Scripts to build a full integrated release of MIND tools - compiler / doc / plugins

Pre-requisites

Tools:

Either:

  • python 2.7+ for Linux
  • Python 3.4+ for Windows

For everyone:

  • git 1.7.2+
  • curl or wget download utility

Windows users

It is STRONGLY recommended to clone this repository as close as your hard drive root as possible, since long paths names can be used and NTFS doesn't like it. This can lead to build failure.

Proxy configuration:

If behind a proxy, you must set/export the "proxy_url", "http_proxy" and "https_proxy" environment variables before running the scripts.

On Linux or MinGW (Windows), this should be done in your command line or in your /home/user_id/.bashrc file, as follows:

See in the sh/mind-tools-create-workspace-linux.sh and/or sh/mind-tools-create-workspace-mingw.sh file for more details.

Your Git and Maven tools should be configured to handle the proxy as well, otherwise "repo" (handling multiple Git repositories) and the build will fail.

For Git:

Either:

Or edit your $(HOME)/.gitconfig file

  • Add [http] and [https] sections with the same keys and values.

See http://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server for further details

For Maven, either edit:

  • the conf/settings.xml file of your Maven installation (system setting)
  • or your user $(HOME)/.m2/settings.xml

Search for "proxy" in it, uncomment it and provide your configuration in the according fields.

Build

Linux and MinGW users:

  • Simply go to the sh folder: "cd sh"
  • And run "./mind-tools-install-release-full-linux/mingw.sh" (choose the suffix accordingly).

Linux and MinGW Details

Use the sh/ scripts, and:

sh/mind-tools-install-release-full-linux/mingw.sh

USAGE: mind-tools-install-release-full-linux/mingw.sh [manifest_branch_name] [manifest_url]

Runs both following scripts in a sequence, to create a full build.

sh/mind-tools-create-workspace-linux/mingw.sh

USAGE: mind-tools-create-workspace-linux/mingw.sh [workspace_folder] [manifest_branch_name] [manifest_url]

This script generates a full workspace into provided workspace_folder folder. It checks that all required tools are available, then gets the "repo" tool with curl/wget, uses repo with the https://github.com/MIND-Tools/mind-tools-release-manifest XML configuration that clones all desired Git repositories to the target folder.

sh/mind-tools-install-release.sh

Runs the Maven build of the full release construction. Shared by both Linux and MinGW scripts. See https://github.com/MIND-Tools/mind-tools for more details.

Pure Windows Details

Use the win32 .bat scripts - To be delivered.

About

Scripts to build a full integrated release of MIND tools - compiler / doc / plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages