Skip to content

Go mod#185

Merged
notzippy merged 6 commits intorevel:developfrom
notzippy:go-mod
May 19, 2020
Merged

Go mod#185
notzippy merged 6 commits intorevel:developfrom
notzippy:go-mod

Conversation

@notzippy
Copy link
Contributor

Removed scanning all the import statements, this is not needed
Added recursive scan for revel import path to pick up testunits
Added a check to see if harness had already started, saves a recompile on load
Added check to source info for local import renames
Removed the go/build check for path and just check existence of the path
Formatting updates

notzippy@gmail.com added 6 commits May 8, 2020 15:41
Removed scanning all the import statements, this is not needed
Added recursive scan for revel import path to pick up testunits
Added a check to see if harness had already started, saves a recompile on load
Added check to source info for local import renames
Removed the go/build check for path and just check existence of the path
Formatting updates
Removed section which raises an error when examining packages, we dont need to check for errors on foreign packages since we are importing only a slice of the data
This allows for source code generation. Packages in <application>/app folder are scanned manually as opposed to the `packages.Load` scan which will fast fail on compile error, and leave you with go files with no syntax.
Updated tests to run final test in non gopath, with new name
@notzippy notzippy merged commit 28ac65f into revel:develop May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant