-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes issue #14 compiling on Win 7 now works #19
Open
dgollub
wants to merge
2
commits into
mrkline:master
Choose a base branch
from
dgollub:fix-issue-14
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,113 @@ | ||
*.swp | ||
*.o | ||
promptoglyph.tar.gz | ||
promptoglyph-path | ||
promptoglyph-vcs | ||
*.swp | ||
*.o | ||
build/ | ||
.DS_Store | ||
promptoglyph.tar.gz | ||
promptoglyph-path | ||
promptoglyph-vcs | ||
|
||
# Created by https://www.gitignore.io/api/windows,sublimetext,osx,linux,d | ||
|
||
### Windows ### | ||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Windows Installer files | ||
*.cab | ||
*.msi | ||
*.msm | ||
*.msp | ||
|
||
# Windows shortcuts | ||
*.lnk | ||
|
||
|
||
### SublimeText ### | ||
# cache files for sublime text | ||
*.tmlanguage.cache | ||
*.tmPreferences.cache | ||
*.stTheme.cache | ||
|
||
# workspace files are user-specific | ||
*.sublime-workspace | ||
|
||
*.sublime-project | ||
|
||
# project files should be checked into the repository, unless a significant | ||
# proportion of contributors will probably not be using SublimeText | ||
# *.sublime-project | ||
|
||
# sftp configuration file | ||
sftp-config.json | ||
|
||
|
||
### OSX ### | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
|
||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear in the root of a volume | ||
.DocumentRevisions-V100 | ||
.fseventsd | ||
.Spotlight-V100 | ||
.TemporaryItems | ||
.Trashes | ||
.VolumeIcon.icns | ||
|
||
# Directories potentially created on remote AFP share | ||
.AppleDB | ||
.AppleDesktop | ||
Network Trash Folder | ||
Temporary Items | ||
.apdisk | ||
|
||
|
||
### Linux ### | ||
*~ | ||
|
||
# temporary files which can be created if a process still has a handle open of a deleted file | ||
.fuse_hidden* | ||
|
||
# KDE directory preferences | ||
.directory | ||
|
||
# Linux trash folder which might appear on any partition or disk | ||
.Trash-* | ||
|
||
|
||
### D ### | ||
# Compiled Object files | ||
*.o | ||
*.obj | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Compiled Static libraries | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
|
||
# DUB | ||
.dub | ||
docs.json | ||
__dummy.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@echo off | ||
SETLOCAL ENABLEEXTENSIONS | ||
|
||
REM ------------- | ||
REM I could not figure out a way to get DigitalMars' make.exe to like | ||
REM the Unix style Makefile. If there is a way to change the Makefile | ||
REM to allow both make.exe (by DigitalMars, comes with the D installation) | ||
REM and make on Linux/Mac OS X to use it, please let me know. | ||
REM ------------- | ||
|
||
REM no spaces between var name and assignment! | ||
SET ME=%~n0 | ||
SET PARENT=%~dp0 | ||
SET BUILD_DIR=%PARENT%\build | ||
SET DC=dmd | ||
SET DFLAGS=-wi -g | ||
|
||
IF /I "%1"=="/debug" GOTO LABEL_DEBUG | ||
IF /I "%1"=="--debug" GOTO LABEL_DEBUG | ||
IF /I "%1"=="-d" GOTO LABEL_DEBUG | ||
IF /I "%1"=="/release" GOTO LABEL_RELEASE | ||
IF /I "%1"=="--release" GOTO LABEL_RELEASE | ||
IF /I "%1"=="-r" GOTO LABEL_RELEASE | ||
|
||
GOTO LABEL_AFTER_VARIABLES | ||
:LABEL_DEBUG | ||
SET DFLAGS=%DFLAGS% -debug | ||
GOTO LABEL_AFTER_VARIABLES | ||
:LABEL_RELEASE | ||
SET DFLAGS=%DFLAGS% -O -release | ||
|
||
:LABEL_AFTER_VARIABLES | ||
|
||
rmdir /s /q %BUILD_DIR% | ||
mkdir %BUILD_DIR% | ||
|
||
echo on | ||
|
||
%DC% %DFLAGS% -of%BUILD_DIR%\promptoglyph-vcs.exe promptoglyph-vcs.d systempath.d help.d vcs.d time.d color.d git.d | ||
%DC% %DFLAGS% -of%BUILD_DIR%\promptoglyph-path.exe promptoglyph-path.d systempath.d help.d | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
systempath.d
is only used in Windows and Windows uses a separate build script, why are we mentioning it in the Makefile?