Commit Graph

88 Commits

Author SHA1 Message Date
David Refoua
a0827fb4f5
formatting code 2022-10-14 23:27:22 +03:30
David Refoua
28e42104ac
create save to directory if it doesn't exist 2022-10-14 23:16:54 +03:30
David Refoua
2189fe9483
use resolve path for input parameters 2022-10-14 23:07:45 +03:30
David Refoua
813fd6d82f
more descriptive verbose comment for packing 2022-10-14 22:57:53 +03:30
David Refoua
1fbe2f7c2d
use absolute path for default cmder root dir 2022-10-14 22:28:50 +03:30
David Refoua
4992227614
use correct order of commands to move directory 2022-10-14 22:12:59 +03:30
David Refoua
7178b978ec
adjust required string double quotes 2022-10-14 22:04:55 +03:30
David Refoua
ee01f26680
use absolute paths for moving items 2022-10-14 22:01:34 +03:30
David Refoua
f05c77e53c
add resolve path for flatten directory function 2022-10-14 21:51:04 +03:30
David Refoua
d567229050
add verbose message for flatten directory 2022-10-14 21:46:00 +03:30
David Refoua
91d5a25fe9
use max cpu count switch for msbuild 2022-10-14 20:02:03 +03:30
David Refoua
771c53c7f1 Re-target build tools & update script 2022-09-10 01:47:10 +04:30
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