-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.#156: fixed upgrade for the tabbed version
fatty is compiled directly at build time moved fatty to https://github.com/juho-p/fatty.git
- Loading branch information
Showing
21 changed files
with
154 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
[._]*.s[a-w][a-z] | ||
[._]s[a-w][a-z] | ||
/src/build | ||
/build | ||
/output | ||
/src/wsl-terminal | ||
/release | ||
*.exe | ||
*.zip | ||
*.7z | ||
.debug | ||
.debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.9.0 | ||
0.9.1 |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
|
||
./prepare.sh && | ||
../build/ahk/Compiler/Ahk2Exe.exe /in ../src/open-wsl.ahk /out ../build/open-wsl.exe /icon ../icons/terminal.ico && | ||
../build/ahk/Compiler/Ahk2Exe.exe /in ../src/open-wsl.ahk /out ../build/run-wsl-file.exe /icon ../icons/script.ico && | ||
../build/ahk/Compiler/Ahk2Exe.exe /in ../src/open-wsl.ahk /out ../build/vim.exe /icon ../icons/text.ico && | ||
../build/ahk/Compiler/Ahk2Exe.exe /in ../src/open-wsl.ahk /out ../build/emacs.exe /icon ../icons/text.ico && | ||
./package.sh && | ||
echo Build succeeded. && | ||
exit | ||
|
||
echo Build failed. && | ||
echo failed | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
#this will run in WSL environment | ||
set -e | ||
|
||
|
||
if [[ ! -d fatty_build ]]; then | ||
mkdir fatty_build | ||
fi | ||
|
||
cd fatty_build | ||
|
||
if [[ ! -d fatty ]]; then | ||
git clone --depth 1 https://github.com/paolo-sz/fatty.git | ||
fi | ||
|
||
cd fatty | ||
#remove any links as cygwin cannot handle links properly | ||
for link in $(find src/ -type l) | ||
do | ||
loc="$(dirname "$link")" | ||
file="$(readlink "$link")" | ||
rm $link | ||
cp "src/$file" "$loc" | ||
done | ||
pwd | ||
#build using cygwin | ||
/mnt/c/cygwin64/bin/bash.exe -c ../../../scripts/compile_fatty.sh | ||
|
||
version=$(printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"-1) | ||
rm -f ../../fatty-$version.7z | ||
7z a ../../fatty-$version.7z fatty |
0
src/check-update.sh → scripts/check-update.sh
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
#this will run in cygwin environment | ||
export PATH=/bin | ||
|
||
make -j | ||
strip src/fatty.exe | ||
|
||
mkdir -p fatty/{bin,doc,etc/lang} | ||
cp bin/fatty.exe fatty/bin | ||
cp /bin/{cyggcc_s-seh-1.dll,cygstdc++-6.dll,cygwin-console-helper.exe,cygwin1.dll} fatty/bin | ||
cp VERSION LICENSE* README.md fatty/doc | ||
cp lang/*.po fatty/etc/lang |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if [[ ! -d ../release ]]; then | ||
mkdir -p ../release | ||
fi | ||
|
||
|
||
cd ../build | ||
[[ -e .debug ]] && { | ||
mkdir -p wsl-terminal | ||
cd wsl-terminal | ||
cp -r build/{bin,etc} . | ||
cp -r {*.exe,tools,cmdtool} ../../VERSION . | ||
exit | ||
} | ||
|
||
rm -rf wsl-terminal | ||
mkdir -p wsl-terminal | ||
cd wsl-terminal | ||
|
||
cp -r ../{bin,etc,doc} . | ||
cp -r ../../src/{tools,cmdtool} ../../VERSION ../*.exe . | ||
cp -r ../../{LICENSE,README.md} doc/ | ||
rm -f ../*.exe | ||
cd .. | ||
|
||
version="$(cat ../VERSION)" | ||
rm -f ../release/wsl-terminal-${version}.7z | ||
7z a ../release/wsl-terminal-${version}.7z wsl-terminal | ||
rm -f ../release/wsl-terminal-${version}.zip | ||
7z a ../release/wsl-terminal-${version}.zip wsl-terminal | ||
|
||
rm -rf ../output && cp -r wsl-terminal ../output | ||
|
||
# fatty | ||
cd wsl-terminal | ||
cp ../fatty/bin/fatty.exe bin/mintty.exe | ||
cp ../fatty/bin/*.dll bin/ | ||
cp -r ../fatty/doc/ doc/fatty | ||
rm -r etc/lang | ||
cp -r ../fatty/etc/lang etc/ | ||
rm -r doc/mintty | ||
mv etc/minttyrc etc/fattyrc | ||
echo "_tabbed" >> VERSION | ||
cd .. | ||
|
||
mv wsl-terminal wsl-terminal-tabbed | ||
|
||
rm -f ../release/wsl-terminal-tabbed-${version}.7z | ||
7z a ../release/wsl-terminal-tabbed-${version}.7z wsl-terminal-tabbed | ||
rm -f ../release/wsl-terminal-tabbed-${version}.zip | ||
7z a ../release/wsl-terminal-tabbed-${version}.zip wsl-terminal-tabbed | ||
|
||
rm -r wsl-terminal-tabbed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.