Skip to content

Commit

Permalink
Updated noinstall build, added gitattributes for standardization.
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Aug 11, 2018
1 parent 438ac25 commit 93e5cdd
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 36 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
68 changes: 34 additions & 34 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof

dist
src/v*
bin/*.exe
!bin/buildtools/*
bin/*.zip
bin/nvm/*

!.gitignore

# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so

# Folders
_obj
_test

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out

*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*

_testmain.go

*.exe
*.test
*.prof

dist
src/v*
bin/*.exe
!bin/buildtools/*
bin/*.zip
bin/nvm/*

!.gitignore
!.gitattributes
6 changes: 4 additions & 2 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ if exist src\nvm.exe (
echo Building nvm.exe:

go build src\nvm.go

move nvm.exe %GOBIN%

for /f %%i in ('%GOBIN%\nvm.exe version') do set BUILT_VERSION=%%i

if NOT %BUILT_VERSION% == %version% (
Expand All @@ -32,11 +34,11 @@ if NOT %BUILT_VERSION% == %version% (
echo nvm.exe v%BUILT_VERSION% built.
)

echo Code Sign nvm.exe...
echo Codesign nvm.exe...
.\buildtools\signtools\x64\signtool.exe sign /debug /tr http://timestamp.digicert.com /td sha256 /fd sha256 /a %GOBIN%\nvm.exe

echo Building "noinstall" zip...
for /f %%a in (%GOBIN%) do (buildtools\zip -j -9 -r "%DIST%\nvm-noinstall.zip" "%CD%\LICENSE" "%%a\*" -x "%GOBIN%\nodejs.ico")
for %%a in (%GOBIN%) do (buildtools\zip -j -9 -r "%DIST%\nvm-noinstall.zip" "%CD%\LICENSE" "%%a\*" -x "%GOBIN%\nodejs.ico")

echo "Building the primary installer..."
buildtools\iscc %INNOSETUP% /o%DIST%
Expand Down

0 comments on commit 93e5cdd

Please sign in to comment.