Skip to content

Commit

Permalink
Tune binary release guide a bit
Browse files Browse the repository at this point in the history
- Fix bat environment setup script.
- Put set-env.bat/ps1/sh scripts into bin folder instead of separate
  folder.
  • Loading branch information
PatZim committed Jul 30, 2019
1 parent 8abd2aa commit 1c76440
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions docs/release-guide-binary.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Windows
- `nmake install`
- `nmake test`
- In `C:\rakudo` do `git clone https://github.com/ugexe/zef.git` and `cd zef` and `C:\rakudo\install\bin\perl6.exe -I. bin\zef install .`
- Copy all files in the `Windows` folder into the `install` folder.
- Copy all files in the `tools\build\binary-release\Windows` folder into the `install` folder.
- Rename the `install` folder to `rakudo-20XX.XX`.
- Create a `.zip` archive. Name it `rakudo-20XX.XX-windows-64bit.zip`.
- Copy the `.zip` archive out of the Windows VM using the Virtual Box `File Manager` (*Machine -> File Manager...*)
Expand Down Expand Up @@ -42,7 +42,7 @@ As of 2019-07-08 CentOS 6 (using glibc 2.12) is a good pick.
cd zef
/rakudo-2019.03.1/install/bin/perl6 -I. bin/zef install .
cd /rakudo-2019.03.1
cp -r tools/releasable/release-files/Linux/* install
cp -r tools/build/binary-release/Linux/* install
mv install rakudo-2019.03.1
tar -czf /rakudo-2019.03.1-linux-64bit.tar.gz rakudo-2019.03.1

Expand Down
File renamed without changes.
2 changes: 2 additions & 0 deletions tools/build/binary-release/Windows/bin/set-env.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@SET PATH=%~dp0..\bin;%~dp0..\share\perl6\site\bin;%PATH%

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
$Env:PATH = "$scriptPath\..\bin;$scriptPath\..\share\perl6\site\bin;$Env:PATH"

$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition
$Env:PATH = "$scriptPath\..\bin;$scriptPath\..\share\perl6\site\bin;$Env:PATH"

2 changes: 0 additions & 2 deletions tools/build/binary-release/Windows/scripts/set-env.bat

This file was deleted.

0 comments on commit 1c76440

Please sign in to comment.