Commit Graph

54 Commits

Author SHA1 Message Date
notzippy@gmail.com
bb926f396a Added additional pattern to test against
Another different missing pacakge error thrown that can be detected and added
This error occurs because a package may have been stripped down when originally loaded
2022-03-05 09:10:51 -08:00
notzippy@gmail.com
ea5acb720f Updated shared build environments
Updated check for errors.
Updated go.mod
Added .vscode launch
2022-02-20 17:16:12 -08:00
Paul Tötterman
3d924a016b Lint fixes 2020-10-19 13:40:52 +03:00
Steve
3cec19ee62 Merge pull request #187 from Laur1nMartins/master
Fixed parsing of user defined linker flags
2020-07-21 09:12:17 -07:00
notzippy@gmail.com
c7f4307a5d Changed the local code walker to include all go files in the base path, and not just the app path 2020-07-14 12:45:10 -07:00
Laurin
6d4ae81af9 Fixed parsing of user defined linker flags 2020-07-12 11:09:57 +02:00
notzippy@gmail.com
49eef29bb5 Build and Historic build updates
Modified GOPATH to not modify build with go.mod
Updated go.mod to version 1.12
Updated harness to setup listener before killing process
Updated notvendored flag to --no-vendor
Updated command_config to ensure no-vendor can be build
Added additional checks in source path lookup
2020-05-03 13:39:48 -07:00
notzippy@gmail.com
9d3a554bec Updates
Updated NotVendored flag
Updated travis matrix
Updated build log
2020-04-29 22:01:28 -07:00
notzippy@gmail.com
36bd6b944a Corrected flags 2020-04-29 21:48:11 -07:00
notzippy@gmail.com
20d5766eb6 Added gomod-flags
Added a gomod-flags parameter which allows you to run go mod commands on the go.mod file before the build is performed. This allows for development environments.
2020-04-29 17:05:39 -07:00
notzippy@gmail.com
33abc47c7a Fixed remaining test 2020-04-26 23:00:51 -07:00
notzippy@gmail.com
86736d6e43 Updated formating
Ran through testing individually for vendored Revel applications
2020-04-26 22:29:16 -07:00
notzippy@gmail.com
f2b54f5a69 Updated sourceinfo
Added packagepathmap to the SourceInfo, this in turn allows the RevelCLI app command to pass the source paths directly to Revel directly
Added default to build to be "target" of the current folder
Renamed source processor
2020-04-26 22:28:46 -07:00
notzippy@gmail.com
548cbc1764 Upatede Error type to SourceError
Added processor object to code
Verified compile errors appearing
Signed-off-by: notzippy@gmail.com
2020-04-26 22:28:46 -07:00
notzippy@gmail.com
acb8fb631b Initial commit to go mod 2020-04-26 22:28:46 -07:00
Laurin
424474a035 Fix linker flags inclusion in build comamnd 2020-02-10 10:35:43 +01:00
NotZippy
f4fb2ec091 Enhancements to Revel command
Reformat of code
Allow user to use a mix of command line arguments and flags
Enhance the import tool to detect missing packages in the modules side
Added test cases for all commands
2018-09-30 10:08:11 -07:00
NotZippy
01ccd695d4 Re added the requirement for the -a, without this the flags would not error out and cause issues 2018-09-22 15:28:22 -07:00
NotZippy
c47f44762a Added message for debugging
Added process state message to be returned to wait channel to help resolve the reason for the "app died" message
2018-09-19 14:43:15 -07:00
NotZippy
17459d14e6 Split main file
Added code to split the generated main file into two separate files. This allows other code to launch the web application inline.
2018-09-19 09:47:51 -07:00
NotZippy
d0baaeb9e9 Initial rewrite of revel/cmd to provide vendor support and enhanced CLI options 2018-09-14 21:26:25 -07:00
NotZippy
91f43bf94c Added check to ignore functions which have no body (external functions)
Added missing sort package
2018-01-30 09:23:21 -08:00
notzippy
0583fe7d32 Merge pull request #108 from rokeller/develop
Generate same value of AppVersion regardless of where revel is run
2018-01-29 21:28:08 -08:00
Nathan Chan
fc904827cd Make sorting compatible with go >= 1.6 2017-12-11 09:55:26 -08:00
Nathan Chan
c240b05369 Sort controllers so that builds are reproducible.
Ordering of controllers in routes.go and main.go is unstable in
successive runs of revel build.  This change will assure that the
ordering is stable.
2017-12-08 11:37:28 -08:00
Roger Keller
a2acbe32bf Make sure AppVersion is set without the -dirty suffix for non-dirty work trees regardless of where revel is run from. 2017-10-28 21:20:28 +02:00
NotZippy
637ccbd250 Updated skeleton to added critical.
modified db.import to support multiple packages
2017-10-07 21:39:13 -07:00
NotZippy
aa9e0f8600 Added code to make vendoring work 2017-09-25 07:36:48 -07:00
NotZippy
17e7d40d31 Fixed missing debug context parameter name
Added check to see if specfication was not exported
Added warnings if expected types did not match specification
2017-09-20 17:49:34 -07:00
NotZippy
9d57681ae6 Updated command to use new logging 2017-09-02 09:10:21 -07:00
notzippy
d68b27ae81 Merge pull request #86 from tw4452852/version
fix version check against devel
2017-04-21 08:55:01 -07:00
Tw
19ca52182d fix version check against devel
Signed-off-by: Tw <tw19881113@gmail.com>
2017-04-10 22:31:37 +08:00
NotZippy
d2b1730439 Makes it so harness can bootstrap using the new GoRequest / response wrappers 2017-04-04 17:17:23 -07:00
Brenden Soares
6ec49296c9 Merge branch 'master' into develop 2017-03-24 10:38:36 -07:00
Jeevanandam M
0e6d8d56a2 ldflags issue commit, read more...
This commit is address 1.7 release. RC3 is already out there. It may lead to merge conflict while merging develop branch. Since enhancements are done.
2016-07-21 17:22:15 -07:00
Jeevanandam M
612de1d3a4 #51 - Streamlined app version ad buildtime for revel app 2016-06-25 19:04:40 -07:00
Jeevanandam M
c18d43d25e Merge pull request #55 from sergeylanzman/master
fix -X import.name=value
2016-06-17 15:32:54 -07:00
Sergey Lanzman
ab1e84cf41 Streamline Revel AppVersion and BuildTime and fix -X import.name=value 2016-06-18 01:28:24 +03:00
Jeevanandam M
a5c8a8da09 revel/revel#1057 code improvements docs, errcheck, cyclo, etc 2016-06-17 14:34:22 -07:00
Jeevanandam M
5a57eaa743 revel/revel#1057 code improvements 2016-06-08 19:32:13 -07:00
Jeevanandam M
e485de7e9c #46 cross platform support 2016-06-07 00:16:51 -07:00
Jeevanandam M
4b9e74e1ea revel/revel#1064 windows filepath fix 2016-06-06 15:36:16 -07:00
Jeevanandam M
4f0489d0e6 print only valid error msg 2016-05-21 23:14:42 -07:00
Jeevanandam M
04e8dfdcbf Merge pull request #43 from ottob/build-install-deps
Install package dependencies when building
2016-05-21 22:26:56 -07:00
yyoshiki41
4d8dbe0fe1 Format go code 2016-05-22 11:35:42 +09:00
Otto Bretz
eaf28d397f Install package dependencies when building
This speeds up recurring compiles a lot.
2016-05-21 20:26:55 +02:00
Robert Nubel
7792db37e2 Ignore missing temporary directories when booting.
Otherwise, removing your `app/tmp` and `app/routes` folders prior
to booting (e.g., if you add them to your .gitignore and use Travis)
will cause unnecessary FATAL error messages. Addresses
revel/revel#908.
2015-07-06 23:26:36 -05:00
Brenden Soares
ccff6efb44 Merge pull request #17 from anonx/fix819
Use a separate directory for revel project binaries
2015-02-23 22:02:35 -08:00
Brenden Soares
1a30b3cc7a Fixes orphaned code 2015-02-23 21:52:40 -08:00
Brenden Soares
bc88881c55 Overwrites generated app files instead of deleting directory 2015-02-23 21:47:11 -08:00