Skip to content

Commit

Permalink
feat: rename binary to myrc
Browse files Browse the repository at this point in the history
  • Loading branch information
kucaahbe committed Jan 18, 2024
1 parent 2f41f1f commit 60921db
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

LICENSE
README.*
myconfigs
myrc
.dub/
dub.settings.json
dmd.conf
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: myrc-${{ matrix.os }}-${{ matrix.dc }}
path: myconfigs
path: myrc

start-release:
name: 'Schedule release'
Expand Down
14 changes: 7 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
docs.json
__dummy.html
docs/
/myconfigs
myconfigs.so
myconfigs.dylib
myconfigs.dll
myconfigs.a
myconfigs.lib
myconfigs-test-*
/myrc
myrc.so
myrc.dylib
myrc.dll
myrc.a
myrc.lib
myrc-test-*
*.exe
*.pdb
*.o
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM dlang2/dmd-ubuntu
WORKDIR /app
COPY . .
RUN --mount=type=cache,target=/root/.dub dub build
RUN ln -s /app/myconfigs /usr/local/bin/myconfigs
RUN ln -s /app/myrc /usr/local/bin/myrc

ARG example_dir_1=/home/dlang/dotfiles/example1
ARG example_dir_2=/home/dlang/dotfiles/example2
Expand All @@ -24,4 +24,4 @@ RUN ln -s $example_dir_2/wrong_location1 ~/.zshenv

WORKDIR $example_dir_1

CMD mkdir ~/.zsh && myconfigs && myconfigs install && myconfigs && ls -la ~
CMD mkdir ~/.zsh && myrc && myrc install && myrc && ls -la ~
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker_image := myconfigs-test
docker_image := myrc-test

build:
docker build -t $(docker_image) . && docker run --rm $(docker_image)
Expand Down
2 changes: 1 addition & 1 deletion dub.sdl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name "myconfigs"
name "myrc"
version "0.0.0"
description "Configs symlinking automation"

Expand Down
2 changes: 1 addition & 1 deletion source/cli.d
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import std.conv: to;
import config;

/** program name (will be displayed in CLI messages) */
string progname = "myconfigs";
string progname = "myrc";

private int status_variant = 1;

Expand Down

0 comments on commit 60921db

Please sign in to comment.