Commit Graph

76 Commits

Author SHA1 Message Date
dgames
357e51acd1 spelling fixes 2022-01-15 11:00:58 -05:00
Dax T Games
a843e85c8b Fix GitHub download failures (#1760)
* Github changed to only accept TLS 1.2 connections, this fixes the resulting failures.
2018-05-04 00:28:14 +02:00
David Refoua
94e7c24b72
minor typo fix 2018-03-31 00:03:39 +04:30
David Refoua
d6569192fc replace tabs to spaces 2018-03-30 23:57:21 +04:30
David Refoua
7d04ded1c2
add appveyor message 2018-03-30 23:52:32 +04:30
David Refoua
5c3f46fd88
fix git detection statement 2018-03-30 23:46:48 +04:30
David Refoua
502129d4f9 minor fix 2018-03-30 23:31:51 +04:30
David Refoua
b36b8a4cb3 new version handle logic 2018-03-30 23:23:44 +04:30
David Refoua
3965852c26
clean before build 2018-03-29 03:23:18 +04:30
David Refoua
93d2c427ad respect powershell naming convention 2018-03-29 01:18:57 +04:30
David Refoua
624deec2f0
minor edit – added a character to the verbose output 2018-03-28 22:34:28 +04:30
David Refoua
c817df2032
add build version str; fix padding 2018-03-28 22:30:09 +04:30
David Refoua
ae473ecea6
add escaped quotes handling 2018-03-28 21:24:02 +04:30
David Refoua
3aeca3c972
add required block to else statement 2018-03-28 21:16:27 +04:30
David Refoua
018bf45df4
add version string handler 2018-03-28 21:13:55 +04:30
David Refoua
f8359fc3f7
add verbose version info 2018-03-28 21:11:31 +04:30
David Refoua
eaf7048ed7
add automatic version creation
with this commit, the build script extracts the latest version string found in `CHANGELOG.md`, and then creates appropriate resource files for the executable compilation
2018-03-28 20:48:57 +04:30
David Refoua
f4321bbc33
add functions to get version and generate rc
these functions can be used to a) extract the version from `CHANGELOG.md` and b) create a .rc2 file from the `sample` template by replacing its content
2018-03-28 20:41:18 +04:30
Benjamin Staneck
e63368fe96 add file name next to hash values 2017-04-07 07:45:28 +02:00
Benjamin Staneck
aa2eaa6886 switch file hashes from MD5 to SHA256 2017-04-07 06:57:16 +02:00
Dax T. Games
13c474b768 added kill ssh-agent to build.ps1 2016-07-17 18:28:38 -05:00
Jackbennett
43af717d44 Support spaces in package names to extract 2016-05-25 10:13:47 +01:00
Jackbennett
a07062d10d Remove the Registry hive after making the changes 2016-05-24 15:50:43 +01:00
Jackbennett
2d812f1d02 Quiet the function output of useless information 2016-05-24 15:49:30 +01:00
Jackbennett
49cc35bccf Add unregister function, Add 'Background' Registry keys
Adding the registry keys that match the c++ code in the cmder.exe call
/REGISTER ALL and /UNREGISTER ALL. USER is untested.
2016-05-24 15:44:54 +01:00
Jackbennett
67de97a492 Indent parameters for Path clarity 2016-05-24 15:43:25 +01:00
Dax T. Games
5068188059 Added proxy support 2016-04-05 09:27:53 -05:00
Martin Kemp
e7243efce2 Fix build script not exiting on msbuild failure. 2016-01-15 12:28:24 +00:00
Dax T. Games
5eff672a4b Added lambda prompt for bash/mintty, matches cmder and powershell prompts 2015-11-23 22:13:33 -06:00
Martin Kemp
1af65edaec Merge pull request #702 from daxgames/msys_bash
Msys bash
2015-11-23 23:31:02 +00:00
Jackbennett
b9362b0a3d For PSV2.0 compat don't use $PSScriptRoot
As the build script must be executed from the `<projectroot>/scripts`
directory anyway we can assume `util.ps1` is as the same path as
`build.ps1` and just reference the current folder.
2015-11-19 14:18:47 +00:00
Dax T. Games
cf15dcffc7 Added/enhanced bash with cmder.sh/user-cmder.sh, organized tasks menu
added personal files to .gitignore so they never get uploaded to the repo and added support for msys2 bash in the new git for windows

added autocreate of config/user-cmder.sh if iot does not exist and added it to the .gitignore

Added tasks: cmd::Cmder, cmd::Cmder as Admin, bash::bash, bash::bash as Admin, bash::mintty, bash::mintty as admin, powershell::powershell, powershell::powershell as Admin. Set default task to cmd::Cmder.  Cot rid of init.bat running before /bin/bash, fixes double exit requirement

Added running git for windows post-install.bat on first cmder launch

fixed file/path not found  errors when launching powershell as admin

fixed file/path not found errors when launching bash/mintty as admin

fixed PATH in vendor/cmder.sh

Added sourcing ~/.bashrc if it exists.

changed .gitignore to ignore anything with path of config/user-*

removed my personal files from .gitignore, left in config/user-*

Make sure $CMDER_ROOT does not have a trailing '/'

%CMDER_ROOT% does not have trailing '\'. allow user to specify a conemu.xml on the command line

Removed '\' from %CMDER_ROOT%
2015-11-14 12:07:56 -06:00
Martin Kemp
0f68e48a7b Merge pull request #665 from cmderdev/martiuk-dev
Build from behind proxy & appveyor
2015-10-16 11:02:33 +01:00
Martin Kemp
46fed27096 Build behind proxy and appveyor.
Fixes #79. Uses Download-File function from d654a53ec43038c42344f9cdbe0abc5b8ff9b387

Create appveyor.yml

Should send build notifications to gitter as well.

Adds appveyor build status badge.

Always compile launcher for AppVeyor

This is to catch any errors that may be caused by changes to the launcher or any outside scripts.
2015-10-16 10:54:43 +01:00
Benjamin Staneck
1e61b858c3 wipe the build dir clean before packing so leftovers don't end up in the release zips 2015-10-15 07:52:05 +02:00
Jack Bennett
45cdfc33f2 Remove the -full build switch. Add a compile example.
To get the functionality of -Full back just supply your own sources.json
with the vendors you wish.
Fix a typo and update the project url.
2015-10-14 18:19:08 +01:00
Jackbennett
27240995f4 Let developers without VS installed test build scripts
Developers can test the build process without needing to recompile a new
launcher exe. This saves some setup steps to get a new developer started.

Also warn that this build can't be release as by definition it can't be
fully tested.
2015-10-14 13:08:26 +01:00
Benjamin Staneck
1f75f85b7c Merge pull request #605 from Stanzilla/bumpgit
Converting msysgit support to git-for-windows support.
2015-10-12 13:23:06 +02:00
Benjamin Staneck
cec7fa3398 Merge eec3fd5578 2015-10-12 13:08:16 +02:00
Benjamin Staneck
6608e16c3b Merge pull request #634 from Stanzilla/revert_cleanupgit
Revert 8b8f98c
2015-10-12 12:52:39 +02:00
Benjamin Staneck
4ed35fe110 Revert 8b8f98c
Breaks Git: #503 #521, because git <command> actually uses git-<command>.
2015-09-11 23:51:10 +02:00
Maximus5
eec3fd5578 Backup and restore ConEmu.xml on ./build.ps1 2015-09-01 20:09:17 +03:00
Benjamin Staneck
373a58e1e6 forgot one 2015-08-23 20:21:45 +02:00
Benjamin Staneck
3e06fcbf07 First step at converting msysgit support to git-for-windows support. 2015-08-23 20:09:06 +02:00
Martin Kemp
6c5034164c Fix cleanup script. 2015-05-17 22:42:00 +01:00
Martin Kemp
83a853bd52 Fix build script. 2015-05-17 22:13:04 +01:00
Martin Kemp
717b9f990e Write vendor version to .cmderver file
For a future feature.
2015-03-25 15:09:23 +00:00
Jack Bennett
84dc9c5f0c Helper function using powershell to register the cmder context menu
Function must be run as an administrator since we're touching the
registry.

A neat by product is that users can now re-run this command and set custom
icons.

I'm not sure what the `%V` command does but it's not opening in the targeted
folder as yet.

The output is a little ugly at rpesent.
2015-03-25 14:34:25 +00:00
Martin Kemp
004761b32f Delete all except git.exe, reducing final size
Using git-$COMMAND is no longer supported anyway.
2015-03-18 14:55:50 +00:00
Martin Kemp
8b8f98c078 Merge pull request #429 from Jackbennett/mend-build
Fix build script removing a trailing comma. Download into a temp folder.
2015-03-18 14:54:55 +00:00