mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 21:12:24 -05:00 
			
		
		
		
	update CONTRIBUTING with css bundling instructions, and go fmt
This commit is contained in:
		
					parent
					
						
							
								965b515db4
							
						
					
				
			
			
				commit
				
					
						c34fa3effa
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -34,6 +34,8 @@ Once that's done, you can try building the project: `go build ./cmd/gotosocial`. | ||||||
| 
 | 
 | ||||||
| If there are no errors, great, you're good to go! | If there are no errors, great, you're good to go! | ||||||
| 
 | 
 | ||||||
|  | To work with the stylesheet for templates, you need [Node.js](https://nodejs.org/en/download/), then run `yarn install` in `web/source/`. Recompiling the bundle.css is `node build.js` but can be automated with [nodemon](https://www.npmjs.com/package/nodemon) on file change: `nodemon -w style.css build.js`. | ||||||
|  | 
 | ||||||
| ## Setting up your test environment | ## Setting up your test environment | ||||||
| 
 | 
 | ||||||
| GoToSocial provides a [testrig](https://github.com/superseriousbusiness/gotosocial/tree/main/testrig) with a bunch of mock packages you can use in integration tests. | GoToSocial provides a [testrig](https://github.com/superseriousbusiness/gotosocial/tree/main/testrig) with a bunch of mock packages you can use in integration tests. | ||||||
|  | @ -90,7 +92,7 @@ To run the linter, use: | ||||||
| golint ./... | golint ./... | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| 
 | Then make sure to run `go fmt ./...` to update whitespace and other opinionated formatting. | ||||||
| 
 | 
 | ||||||
| ## Financial Compensation | ## Financial Compensation | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue