Skip to content

Commit 47d7c92

Browse files
committed
Fix typos
1 parent 7721444 commit 47d7c92

22 files changed

+32
-32
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM erlang:20.3.8.1-alpine as builder
66
# "The LABEL instruction adds metadata to an image."
77
LABEL stage=builder
88

9-
# Install git for fetching non-hex depenencies. Also allows rebar3
9+
# Install git for fetching non-hex dependencies. Also allows rebar3
1010
# to find it's own git version.
1111
# Add any other Alpine libraries needed to compile the project here.
1212
# See https://wiki.alpinelinux.org/wiki/Local_APK_cache for details

priv/shell-completion/fish/rebar3.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ end
6161
##
6262
## plugins <task>:
6363
## list List local and global plugins for this project
64-
## upgrade Uprade plugins
64+
## upgrade Upgrade plugins
6565
##
6666
## Run 'rebar3 help <TASK>' for details.
6767
# general options
@@ -190,7 +190,7 @@ complete -f -c 'rebar3' -n '__fish_rebar3_using_command tar' -l system_libs
190190
complete -f -c 'rebar3' -n '__fish_rebar3_using_command tar' -l version -d "Print relx version"
191191
complete -f -c 'rebar3' -n '__fish_rebar3_using_command tar' -s r -l root -d "The project root directory"
192192

193-
complete -f -c 'rebar3' -n '__fish_rebar3_needs_command' -a tree -d "Print depdency tree."
193+
complete -f -c 'rebar3' -n '__fish_rebar3_needs_command' -a tree -d "Print dependency tree."
194194

195195
complete -f -c 'rebar3' -n '__fish_rebar3_needs_command tree' -s v -l verbose -d "Print repo and branch/tag/ref for git and hg deps."
196196

src/rebar_api.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ error(Str, Args) -> ?ERROR(Str, Args).
5858
expand_env_variable(InStr, VarName, RawVarValue) ->
5959
rebar_utils:expand_env_variable(InStr, VarName, RawVarValue).
6060

61-
%% @doc returns the sytem architecture, in strings like
61+
%% @doc returns the system architecture, in strings like
6262
%% `"19.0.4-x86_64-unknown-linux-gnu-64"'.
6363
-spec get_arch() -> string().
6464
get_arch() ->

src/rebar_app_discover.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ do(State, LibDirs) ->
5454
end, State, lists:reverse(CurrentProfiles)),
5555

5656
%% Handle sub project apps deps
57-
%% Sort apps so we get the same merged deps config everytime
57+
%% Sort apps so we get the same merged deps config every time
5858
SortedApps = rebar_utils:sort_deps(Apps),
5959
lists:foldl(fun(AppInfo, StateAcc) ->
6060
Name = rebar_app_info:name(AppInfo),
@@ -438,7 +438,7 @@ create_app_info(AppInfo, AppDir, AppFile) ->
438438
end.
439439

440440

441-
%% @doc Read in and parse the .app file if it is availabe. Do the same for
441+
%% @doc Read in and parse the .app file if it is available. Do the same for
442442
%% the .app.src file if it exists.
443443
-spec try_handle_resource_files(AppInfo, AppDir, ResourceFiles, valid | invalid | all) ->
444444
{true, AppInfo} | false when
@@ -463,7 +463,7 @@ try_handle_resource_files(_AppInfo, _AppDir, [], _Validate) ->
463463
false.
464464

465465

466-
%% @doc Read in and parse the .app file if it is availabe. Do the same for
466+
%% @doc Read in and parse the .app file if it is available. Do the same for
467467
%% the .app.src file if it exists.
468468
-spec try_handle_app_file(AppInfo, AppDir, File, AppSrcFile, valid | invalid | all) ->
469469
{true, AppInfo} | false when

src/rebar_app_info.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
%% API
120120
%% ============================================================================
121121
%% @doc Build a new, empty, app info value. This is not of a lot of use and you
122-
%% probably wont be doing this much.
122+
%% probably won't be doing this much.
123123
-spec new() -> t().
124124
new() ->
125125
#app_info_t{}.

src/rebar_compiler_erl.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ atoms_in_erl_first_files_warning(Atoms) ->
336336
W = "You have provided atoms as file entries in erl_first_files; "
337337
"erl_first_files only expects lists of filenames as strings. "
338338
"The following modules (~p) may not work as expected and it is advised "
339-
"that you change these entires to string format "
339+
"that you change these entries to string format "
340340
"(e.g., \"src/module.erl\") ",
341341
?WARN(W, [Atoms]).
342342

src/rebar_compiler_mib.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ atoms_in_mib_first_files_warning(Atoms) ->
5656
W = "You have provided atoms as file entries in mib_first_files; "
5757
"mib_first_files only expects lists of filenames as strings. "
5858
"The following MIBs (~p) may not work as expected and it is advised "
59-
"that you change these entires to string format "
59+
"that you change these entries to string format "
6060
"(e.g., \"mibs/SOME-MIB.mib\") ",
6161
?WARN(W, [Atoms]).
6262

src/rebar_dialyzer_format.erl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
%%% out the cody bits
99
%%% * red: things that went bad, i.e. the wrong argument in a
1010
%%% call. It allows to quickly catching where in the code
11-
%%% ane error is.
11+
%%% and error is.
1212
%%% * green: the 'good' stuff, i.e. what was expected as an argument
1313
%%% the 'red vs green' resambles the diff view 'remove vs add'
1414
%%% * blue: argument positions.
@@ -412,14 +412,14 @@ highlight([N | Nr], N, r, [Arg | Rest]) ->
412412
highlight(Ns, N, C, [Arg | Rest]) ->
413413
[Arg | highlight(Ns, N + 1, C, Rest)].
414414

415-
%% Arugments to functions and constraints are passed as
415+
%% Arguments to functions and constraints are passed as
416416
%% strings not as data, this function pulls them apart
417417
%% to allow interacting with them separately and not
418418
%% as one bug chunk of data.
419419
separate_args([$( | S]) ->
420420
separate_args([], S, "", []).
421421

422-
%% We strip this space since dialyzer is inconsistant in adding or not adding
422+
%% We strip this space since dialyzer is inconsistent in adding or not adding
423423
%% it ....
424424
separate_args([], [$,, $\s | R], Arg, Args) ->
425425
separate_args([], R, [], [lists:reverse(Arg) | Args]);

src/rebar_dir.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ all_src_dirs(Opts, SrcDefault, ExtraDefault) ->
292292
%%% @doc
293293
%%% Return the list of options for the given src directory
294294
%%% If the same option is given multiple times for a directory in the
295-
%%% config, the priority order is: first occurence of `src_dirs'
296-
%%% followed by first occurence of `extra_src_dirs'.
295+
%%% config, the priority order is: first occurrence of `src_dirs'
296+
%%% followed by first occurrence of `extra_src_dirs'.
297297
-spec src_dir_opts(rebar_dict(), file:filename_all()) -> [{atom(),term()}].
298298
src_dir_opts(Opts, Dir) ->
299299
RawSrcDirs = raw_src_dirs(src_dirs, Opts, []),

src/rebar_erlc_compiler.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ atoms_in_erl_first_files_warning(Atoms) ->
831831
W = "You have provided atoms as file entries in erl_first_files; "
832832
"erl_first_files only expects lists of filenames as strings. "
833833
"The following modules (~p) may not work as expected and it is advised "
834-
"that you change these entires to string format "
834+
"that you change these entries to string format "
835835
"(e.g., \"src/module.erl\") ",
836836
?WARN(W, [Atoms]).
837837

0 commit comments

Comments
 (0)