Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wenqing
ogs
Commits
b75fbfc7
Commit
b75fbfc7
authored
13 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
Started unified setup scripting with bash scripts. Added Visual Studio locator.
parent
c3c64cdf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/setup/setup.sh
+3
-0
3 additions, 0 deletions
scripts/setup/setup.sh
scripts/setup/setup_prerequisites.sh
+22
-0
22 additions, 0 deletions
scripts/setup/setup_prerequisites.sh
with
25 additions
and
0 deletions
scripts/setup/setup.sh
0 → 100755
+
3
−
0
View file @
b75fbfc7
#!/usr/bin/env bash
source
setup_prerequisites.sh
This diff is collapsed.
Click to expand it.
scripts/setup/setup_prerequisites.sh
0 → 100755
+
22
−
0
View file @
b75fbfc7
#!/usr/bin/env bash
## Windows specific
if
[
"
$OSTYPE
"
==
'msys'
]
;
then
# Check Visual Studio version
if
[
-z
"
$VS80COMNTOOLS
"
]
;
then
if
[
-z
"
$VS90COMNTOOLS
"
]
;
then
if
[
-z
"VS100COMNTOOLS"
]
;
then
echo
"Error: Visual Studio not found"
else
DEVENV
=
"
$VS100COMNTOOLS
..
\I
DE
\d
evenv"
fi
else
DEVENV
=
"
$VS90COMNTOOLS
..
\I
DE
\d
evenv"
fi
else
DEVENV
=
"
$VS80COMNTOOLS
..
\I
DE
\d
evenv"
fi
echo
"Visual Studio found:
$DEVENV
"
fi
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