Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Pathfinder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Go
Utilities
Pathfinder
Commits
cb6033a9
Verified
Commit
cb6033a9
authored
Sep 16, 2023
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: format code
parent
aa99843e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
devenv.nix
+541
-541
541 additions, 541 deletions
devenv.nix
pathfinder.iml
+5
-3
5 additions, 3 deletions
pathfinder.iml
with
546 additions
and
544 deletions
devenv.nix
+
541
−
541
View file @
cb6033a9
...
@@ -43,12 +43,9 @@
...
@@ -43,12 +43,9 @@
zlib
zlib
];
];
# https://devenv.sh/languages/
# https://devenv.sh/languages/
# languages.nix.enable = true;
# languages.nix.enable = true;
languages
=
{
languages
=
{
go
=
{
enable
=
true
;
};
};
go
=
{
enable
=
true
;
};
};
difftastic
.
enable
=
true
;
difftastic
.
enable
=
true
;
...
@@ -77,7 +74,9 @@ PATH="''${PATH}":${pkgs.procps}/bin/
...
@@ -77,7 +74,9 @@ PATH="''${PATH}":${pkgs.procps}/bin/
PATH="
''$
{PATH}":
${
pkgs
.
exa
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
exa
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
git
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
git
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
gnugrep
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
gnugrep
}
/bin/
PATH="
''$
{PATH}":
${
inputs
.
version
.
defaultPackage
.
"
${
builtins
.
currentSystem
}
"
}
/bin/
PATH="
''$
{PATH}":
${
inputs
.
version
.
defaultPackage
.
"
${
builtins
.
currentSystem
}
"
}
/bin/
export PATH
export PATH
...
@@ -99,7 +98,9 @@ PATH="''${PATH}":${pkgs.gnutar}/bin
...
@@ -99,7 +98,9 @@ PATH="''${PATH}":${pkgs.gnutar}/bin
PATH="
''$
{PATH}":
${
pkgs
.
gzip
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
gzip
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
exa
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
exa
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
git
}
/bin/
PATH="
''$
{PATH}":
${
pkgs
.
git
}
/bin/
PATH="
''$
{PATH}":
${
inputs
.
version
.
defaultPackage
.
"
${
builtins
.
currentSystem
}
"
}
/bin/
PATH="
''$
{PATH}":
${
inputs
.
version
.
defaultPackage
.
"
${
builtins
.
currentSystem
}
"
}
/bin/
export PATH
export PATH
...
@@ -253,7 +254,7 @@ before_script:
...
@@ -253,7 +254,7 @@ before_script:
- nix shell nixpkgs#coreutils-full -c mkdir -p /certs/client/
- nix shell nixpkgs#coreutils-full -c mkdir -p /certs/client/
- nix shell nixpkgs#coreutils-full -c ln -fs /etc/ssl/certs/ca-bundle.crt /certs/client/ca.pem
- nix shell nixpkgs#coreutils-full -c ln -fs /etc/ssl/certs/ca-bundle.crt /certs/client/ca.pem
- echo > .env-gitlab-ci
- echo > .env-gitlab-ci
- variables=("HOME=
''
$
HOME" "CI_COMMIT_REF_NAME=
''
$
CI_COMMIT_REF_NAME" "CI_REPOSITORY_URL=
''
$
CI_REPOSITORY_URL" "GITLAB_TOKEN=
''
$
GITLAB_TOKEN" "CI_JOB_TOKEN=
''
$
CI_JOB_TOKEN" "GITLAB_USER_EMAIL=
''
$
GITLAB_USER_EMAIL" "GITLAB_USER_NAME=\"
''
$
GITLAB_USER_NAME\"" "CI_REGISTRY_USER=
''
$
CI_REGISTRY_USER" "CI_PROJECT_ID=
''
$
CI_PROJECT_ID" "CI_PROJECT_DIR=
''
$
CI_PROJECT_DIR" "CI_API_V4_URL=
''
$
CI_API_V4_URL" "CI_PROJECT_NAME=
''
$
CI_PROJECT_NAME" "CI_COMMIT_SHORT_SHA=
''
$
CI_COMMIT_SHORT_SHA"); for var in "
''$
{variables[@]}"; do echo "
''
$
var" >> .env-gitlab-ci; done
- variables=("HOME=$HOME" "CI_COMMIT_REF_NAME=$CI_COMMIT_REF_NAME" "CI_REPOSITORY_URL=$CI_REPOSITORY_URL" "GITLAB_TOKEN=$GITLAB_TOKEN" "CI_JOB_TOKEN=$CI_JOB_TOKEN" "GITLAB_USER_EMAIL=$GITLAB_USER_EMAIL" "GITLAB_USER_NAME=\"$GITLAB_USER_NAME\"" "CI_REGISTRY_USER=$CI_REGISTRY_USER" "CI_PROJECT_ID=$CI_PROJECT_ID" "CI_PROJECT_DIR=$CI_PROJECT_DIR" "CI_API_V4_URL=$CI_API_V4_URL" "CI_PROJECT_NAME=$CI_PROJECT_NAME" "CI_COMMIT_SHORT_SHA=$CI_COMMIT_SHORT_SHA"); for var in "
''$
{variables[@]}"; do echo "$var" >> .env-gitlab-ci; done
- cat .env-gitlab-ci
- cat .env-gitlab-ci
after_script:
after_script:
...
@@ -320,7 +321,7 @@ reset
...
@@ -320,7 +321,7 @@ reset
clear
clear
# create random log file
# create random log file
LOGFILE="
''
$
(mktemp)"
LOGFILE="$(mktemp)"
if [ $? -ne 0 ]; then
if [ $? -ne 0 ]; then
echo -e "
''$
{RED}✖ Could not create temporary log file. Exiting.
''$
{RESET}"
echo -e "
''$
{RED}✖ Could not create temporary log file. Exiting.
''$
{RESET}"
exit 1
exit 1
...
@@ -634,5 +635,4 @@ done
...
@@ -634,5 +635,4 @@ done
printLogfileAndExit 0
printLogfileAndExit 0
''
;
''
;
}
}
This diff is collapsed.
Click to expand it.
pathfinder.iml
+
5
−
3
View file @
cb6033a9
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"WEB_MODULE"
version=
"4"
>
<module
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"Go"
enabled=
"true"
/>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<component
name=
"NewModuleRootManager"
inherit-compiler-output=
"true"
>
<exclude-output
/>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
/>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/.devenv/state/go/pkg/mod/github.com/google/addlicense@v1.1.1/testdata/expected"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/.devenv/state/go/pkg/mod/github.com/google/addlicense@v1.1.1/testdata/initial"
isTestSource=
"false"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</component>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment