Tuncer Ayaz
3fb4a7c540
Fix OS X resource fork handling (Reported-by: Richard O'Keefe)
...
If you happen to fetch a zip archive of the git repo and try to build
from that, you may, for example, ask erlc to build src/._rebar.erl.
._* are OS X resource forks and not real .erl files. This may also
happen with network filesystems on OS X. To fix that, limit the
files compiled by rebar to include only those which start with
a letter or a digit.
2014-07-25 20:52:30 +02:00
Fred Hebert
8b6a2a8c74
Merge branch 'minor-fixes' of https://github.com/tuncer/rebar into tuncer-minor-fixes
2014-07-15 08:45:36 -04:00
Tuncer Ayaz
15373a580f
Fix typo s/of/on/
2014-07-13 15:12:09 +02:00
Tuncer Ayaz
5f995bfdc0
Fix a few minor formatting inconsistencies
...
* fix overlong lines
* where appropriate use %% instead of %
2014-06-29 21:13:45 +02:00
Luis Rascão
41095e73e2
fix indentation issues
2014-06-26 23:29:26 +01:00
Luis Rascao
411d703666
bootstrap now accepts --help usage flag
2014-06-12 14:05:35 +01:00
Matwey V. Kornilov
4de9ea5574
Add namespaced_types to bootstrap script.
2014-06-08 14:34:10 +04:00
Tuncer Ayaz
af305f2425
bootstrap: avoid trying to run 'debug' command
...
If you invoke 'make debug', then bootstrap executes rebar:main/1 with
the extra argument "debug" and rebar treats that as a command. There is
no such command.
Without this patch you will see the following on bootstrap:
Command 'debug' not understood or not applicable
2013-12-17 14:28:58 +01:00
Tuncer Ayaz
e34b702423
bootstrap: fix and enhance VCS_INFO handling
...
* re-compile rebar.erl instead of rebar_core to define VCS_INFO
* append "-dirty" if vcs indicates unclean repo status
2012-08-13 00:07:00 +02:00
Tuncer Ayaz
1e980859e2
Extend escriptize and reuse in bootstrap
2012-06-14 23:46:55 +02:00
Tuncer Ayaz
c2a72a12ae
Fix escript creation as suggested by Siri Hansen
2012-06-14 23:46:55 +02:00
Tuncer Ayaz
7e812e6a75
Print full git revision in version string
2012-06-11 20:01:07 +02:00
Dave Smith
0f24d93256
Move to major.minor.patch release version; add OTP build version
...
version info
2012-06-04 08:46:17 -06:00
Mike Lazar
cbfabd6073
Remove generation of ps1 script (no longer needed)
2012-04-03 14:18:39 +02:00
Mike Lazar
fa3dab30ae
Fix typos in generated cmd script in bootstrap
...
Fixes basho/rebar#188
2012-02-16 19:09:36 +01:00
Tuncer Ayaz
bd349bd2c4
bootstrap: do not ignore write_file return value
2011-12-25 16:46:13 +01:00
Matt Campbell
8c01734e98
bootstrap: generate windows scripts
2011-12-25 16:46:13 +01:00
Tuncer Ayaz
461335acf9
Reformat bootstrap
2011-08-16 15:26:02 +02:00
Scott Lystig Fritchie
92129d6dd2
Document use of -noshell -noinput in emu_opts
2011-08-16 15:14:00 +02:00
Tuncer Ayaz
2911d48fb1
Remove trailing whitespace
2011-08-08 22:35:45 +02:00
Tuncer Ayaz
c466076ffb
Clean up emacs file local variables
2011-01-31 17:55:36 +01:00
Tuncer Ayaz
27019e2867
Fix code clarity in bootstrap
2011-01-13 17:39:14 +01:00
Dave Smith
465af36266
Add debug flag to make it easier to get a debug version of rebar
2010-10-07 19:02:37 -06:00
Juhani Rankimies
8a5eea5ef1
add bat scripts for bootstrap and rebat (windows doesn't understand shebang), make bootstrap work on windows
2010-08-02 20:35:26 +03:00
Scott Fritchie
3929c7564b
Add '%%! -noshell -noinput' to rebar escript
2010-08-10 14:23:32 -05:00
Dave Smith
27f638b45e
Add support for embedding git version; make sure to always rebuild rebar_core so that the VCS_INFO constant gets updated
2010-07-28 07:19:25 -06:00
Dave Smith
02bc52fc6a
Add support for embedding VCS info into the version data
2010-06-22 13:47:06 -06:00
Dave Smith
f1ca1be676
Removing debug_info from bootstrap; caused the rebar executable to be way bigger than we wanted
2010-04-14 10:47:20 -06:00
Dave Smith
564b99334d
Add helper makefile; update bootstrap to always build w/ debug_info
2010-04-09 09:24:45 -06:00
Tuncer Ayaz
92e667b062
Add missing mode setting in Emacs file variables
2010-02-25 21:43:23 +01:00
Tuncer Ayaz
fa4b2ee701
Add emacs and vim file local variables
2010-02-11 00:16:34 +01:00
Dave Smith
b787f195b8
Add vim line; courtesy of rtilder
2010-02-10 11:08:56 -07:00
Dave Smith
1ea7065b83
Rework how the escript is built so that we can inclue templates
2010-01-08 10:54:26 -07:00
Dave Smith
ffa0cda467
Updating bootstrap to embed the build time into a macro that we can pull via "version" command
2009-12-07 16:03:56 -07:00
Dave Smith
01684ff0fa
Add a nice message
2009-12-04 13:54:44 -07:00
Dave Smith
b491898690
Refactor rebar to build a self-contained script
2009-12-04 13:48:57 -07:00