Initialize project
This commit is contained in:
		
							parent
							
								
									931ee74ae6
								
							
						
					
					
						commit
						d79b09fb76
					
				| 
						 | 
					@ -1,3 +1,10 @@
 | 
				
			||||||
# star_rss
 | 
					# star_rss
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RSS reader written in gleam
 | 
					RSS reader written in gleam
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Development
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```sh
 | 
				
			||||||
 | 
					gleam run   # Run the project
 | 
				
			||||||
 | 
					gleam test  # Run the tests
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										19
									
								
								gleam.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								gleam.toml
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					name = "star_rss"
 | 
				
			||||||
 | 
					version = "0.0.1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Fill out these fields if you intend to generate HTML documentation or publish
 | 
				
			||||||
 | 
					# your project to the Hex package manager.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					description = "RSS reader"
 | 
				
			||||||
 | 
					licences = ["Apache-2.0"]
 | 
				
			||||||
 | 
					repository = { type = "gitea", host = "git.shillerben.com", user = "shillerben", repo = "star_rss" }
 | 
				
			||||||
 | 
					# links = [{ title = "Website", href = "" }]
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# For a full reference of all the available options, you can have a look at
 | 
				
			||||||
 | 
					# https://gleam.run/writing-gleam/gleam-toml/.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[dependencies]
 | 
				
			||||||
 | 
					gleam_stdlib = ">= 0.34.0 and < 2.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[dev-dependencies]
 | 
				
			||||||
 | 
					gleeunit = ">= 1.0.0 and < 2.0.0"
 | 
				
			||||||
							
								
								
									
										5
									
								
								src/star_rss.gleam
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								src/star_rss.gleam
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,5 @@
 | 
				
			||||||
 | 
					import gleam/io
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pub fn main() {
 | 
				
			||||||
 | 
					  io.println("Hello from star_rss!")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										12
									
								
								test/star_rss_test.gleam
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								test/star_rss_test.gleam
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,12 @@
 | 
				
			||||||
 | 
					import gleeunit
 | 
				
			||||||
 | 
					import gleeunit/should
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					pub fn main() {
 | 
				
			||||||
 | 
					  gleeunit.main()
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// gleeunit test functions end in `_test`
 | 
				
			||||||
 | 
					pub fn hello_world_test() {
 | 
				
			||||||
 | 
					  1
 | 
				
			||||||
 | 
					  |> should.equal(1)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user