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
6cd7817938
resolve merge conflicts
2022-09-11 09:56:40 +04:30
David Refoua
771c53c7f1
Re-target build tools & update script
2022-09-10 01:47:10 +04:30
Martin Kemp
74060922a4
run script before compile
2022-07-18 18:21:08 +01:00
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
Jack Bennett
aad729eb87
Adds support for PS 4.0 native hash command to remove a dependency
...
PS 4.0 requires installing WMF 4.0 on windows 7, 8, Server 2012
Native on 8.1, Server 2012r2
2015-03-18 13:50:00 +00:00
Jack Bennett
2c184f8721
Fix build script removing a traling comma. Download into a temp folder.
...
I made a bad patch with the parameters syntax. I'm making the temp files
go into a subfolder as if the build script stop theres a .tmp that could
be accidentially tracked by source control.
2015-03-18 13:21:43 +00:00
Martin Kemp
3c289b455b
Initial git cleanup PS
...
It's not functional, yet.
2015-03-18 12:28:34 +00:00
Jack Bennett
31c169a761
Use a -Full parameter to download all sources rather than the minimum
...
Use a full switch to indicate if we want to go and pull a copy of git
since its huge and if a developer is cloning the repo to work on and needs
to build it they already have git.
2015-02-25 13:58:11 +00:00
an-selm
e224d133f3
Rework alias command to handle duplicates
...
* Removed unnecessary perl script
2014-12-24 22:24:35 +03:00
melchior
247c65ef05
Add an error message if an alias is detected as invalid
2014-10-16 01:09:24 -04:00
melchior
45c9742ea5
remove lua version
2014-10-16 01:03:19 -04:00
melchior
5bd0c29c25
Convert the clean alias script to perl
2014-10-16 01:00:59 -04:00
melchior
1e2f954724
Add a lua script to clean the aliases file
...
Note that cmder doesn't ship with lua. Next step is converting this
script to perl, which ships with msysgit.
2014-10-16 00:20:36 -04:00
Nicolas Arnaud-Cormos
a5691285ec
Ensure-Exists is necessary for build.ps1, add it back.
2014-08-28 13:34:59 +02:00
Martin Kemp
de8d2d22f6
Fix the build
2014-08-26 23:52:49 +01:00
Samuel Vasko
c032b5f8a0
Using verbose output
2014-04-28 13:22:22 +02:00
Jack Bennett
e6618f21a3
Try to find 7-zip if it's installed before an error.
...
Create an alias to 7z.exe in the script scope.
2014-04-10 18:34:31 +01:00
Samuel Vasko
46f6f677dc
Silencing the noise
2014-04-10 14:42:20 +02:00
Samuel Vasko
b9379b3ae2
Computing hashes
2014-04-10 13:11:41 +02:00
Samuel Vasko
df064ec4be
Merged
2014-04-10 12:43:34 +02:00
Samuel Vasko
e1c60104ba
Updated build and pack Powershell
2014-04-10 12:41:19 +02:00
Jack Bennett
cf74dba780
merging in new additions to the pull request
2014-03-05 14:49:23 +00:00
Jack Bennett
a9bfd2d2a2
Silencing the output from 7z so I can actually see what else the script is
...
doing.
Adding some clearer dubugging info for cleaning up folders
2014-03-05 14:00:35 +00:00
Samuel Vasko
b0b8eaef1e
Error checking for 7z extraction
2014-03-05 14:31:01 +01:00
Jack Bennett
5243d8bb8d
In powershell you pretty much never want to use Write-Host, its output can't be redirected along the pipeline. You couldn't pipe this output to a logfile.
2014-03-05 13:28:18 +00:00
Samuel Vasko
f4b6d8f9a8
Refactored mail download loop, better error handling
2014-03-05 11:22:58 +01:00
Samuel Vasko
0314ee5d46
Removed unused function
2014-03-02 22:04:58 +01:00
Samuel Vasko
6a761a88c1
Adjusted the build script behavior
...
Removed some absolute path, and refactored the code so
it handles the nested folder archives
2014-03-02 22:00:04 +01:00
Jack Bennett
b4a264b1bc
This commit amends far more than I would have liked to.
...
working script will;
Remove existing folders named in the sources
Download the packages listed in sources.json
Extracts the above packages
deletes the downloaded package
2014-02-26 16:46:23 +00:00
Samuel Vasko
b30056c4b3
First draft of new build script
2014-02-24 17:33:14 +01:00